mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
27 lines
487 B
Nix
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";
|
|
};
|
|
|
|
}
|