3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/rsa/default.nix
2018-10-27 09:07:23 +02:00

27 lines
487 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, unittest2
, pyasn1
}:
buildPythonPackage rec {
pname = "rsa";
version = "3.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "1dcxvszbikgzh99ybdc7jq0zb9wspy2ds8z9mjsqiyv3q884xpr5";
};
nativeBuildInputs = [ unittest2 ];
propagatedBuildInputs = [ pyasn1 ];
meta = with stdenv.lib; {
homepage = https://stuvel.eu/rsa;
license = licenses.asl20;
description = "A pure-Python RSA implementation";
};
}