pythonPackages.rsa: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-26 12:51:37 -04:00
committed by Frederik Rietdijk
parent 0f7de34c6a
commit 0e141facab
2 changed files with 27 additions and 18 deletions

View File

@@ -0,0 +1,26 @@
{ 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";
};
}