mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
28 lines
503 B
Nix
28 lines
503 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, unittest2
|
|
, pyasn1
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rsa";
|
|
version = "4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1a836406405730121ae9823e19c6e806c62bbad73f890574fff50efa4122c487";
|
|
};
|
|
|
|
checkInputs = [ unittest2 mock ];
|
|
propagatedBuildInputs = [ pyasn1 ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://stuvel.eu/rsa;
|
|
license = licenses.asl20;
|
|
description = "A pure-Python RSA implementation";
|
|
};
|
|
|
|
}
|