telegram-cli 0.1.1

A simple and powerful CLI tool to interact with the Telegram Bot API.
1
2
3
4
5
6
7
8
9
10
11
12
{ pkgs ? import <nixpkgs> { } }:
let manifest = (pkgs.lib.importTOML ./Cargo.toml).package; in
pkgs.rustPlatform.buildRustPackage rec {
  pname = manifest.name;
  version = manifest.version;

  nativeBuildInputs = with pkgs; [ pkg-config openssl ];
  PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
  
  cargoLock.lockFile = ./Cargo.lock;
  src = pkgs.lib.cleanSource ./.;
}