mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-12-01 13:53:45 +03:00
28 lines
608 B
Nix
28 lines
608 B
Nix
{ lib, buildPythonPackage, nix-gitignore, pythonOlder
|
|
, async_generator, pyaes, rsa
|
|
}:
|
|
|
|
let
|
|
common = import ./common.nix { inherit lib; };
|
|
in buildPythonPackage rec {
|
|
pname = "telethon";
|
|
# If pinning to a specific commit, use the following output instead:
|
|
# ```sh
|
|
# TZ=UTC git show -s --format=format:%cd --date=short-local
|
|
# ```
|
|
version = "HEAD";
|
|
|
|
src = nix-gitignore.gitignoreSource ''
|
|
/.git
|
|
/default.nix
|
|
/nix
|
|
'' ../..;
|
|
|
|
propagatedBuildInputs = [ async_generator rsa pyaes ];
|
|
|
|
doCheck = false; # No tests available
|
|
|
|
disabled = pythonOlder "3.5";
|
|
meta = common.meta;
|
|
}
|