mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
python3Packages.tgcrypto: init at 1.2.2
This commit is contained in:
parent
28552b21f9
commit
d0e1c4fcd8
33
pkgs/development/python-modules/tgcrypto/default.nix
Normal file
33
pkgs/development/python-modules/tgcrypto/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tgcrypto";
|
||||
version = "1.2.2";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyrogram";
|
||||
repo = "tgcrypto";
|
||||
rev = "v${version}";
|
||||
sha256 = "1vyjycjb2n790371kf47qc0mkvd4bxmhh65cfxjsrcjpiri7shjf";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "tgcrypto" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast and Portable Telegram Crypto Library for Python";
|
||||
homepage = "https://github.com/pyrogram/tgcrypto";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -8353,6 +8353,8 @@ in {
|
||||
|
||||
tflearn = callPackage ../development/python-modules/tflearn { };
|
||||
|
||||
tgcrypto = callPackage ../development/python-modules/tgcrypto { };
|
||||
|
||||
Theano = callPackage ../development/python-modules/Theano rec {
|
||||
cudaSupport = pkgs.config.cudaSupport or false;
|
||||
cudnnSupport = cudaSupport;
|
||||
|
Loading…
Reference in New Issue
Block a user