nixpkgs/pkgs/development/python-modules/pycryptodome/default.nix

30 lines
613 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pycryptodome-test-vectors
}:
2016-11-24 22:35:41 +00:00
buildPythonPackage rec {
pname = "pycryptodome";
version = "3.12.0";
format = "setuptools";
2016-11-24 22:35:41 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-Esc0OuxaOz31xHJlKBsSthHybsk2e2EpGZ1n2lS3aME=";
extension = "zip";
2016-11-24 22:35:41 +00:00
};
pythonImportsCheck = [
"Crypto"
];
meta = with lib; {
2016-11-24 22:35:41 +00:00
description = "Python Cryptography Toolkit";
homepage = "https://www.pycryptodome.org/";
license = with licenses; [ bsd2 /* and */ asl20 ];
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
2016-11-24 22:35:41 +00:00
};
}