11 buildPythonPackage rec {
16 inherit pname version;
17 sha256 = "sha256-44RkpJxshdfxNRsBJmYUh6fgoUpQ8WdexQ6zTU8g7yE=";
20 checkInputs = [ unittest2 mock ];
21 propagatedBuildInputs = [ pyasn1 ];
23 preConfigure = lib.optionalString (isPy3k && pythonOlder "3.7") ''
24 substituteInPlace setup.py --replace "open('README.md')" "open('README.md',encoding='utf-8')"
31 homepage = "https://stuvel.eu/rsa";
32 license = licenses.asl20;
33 description = "A pure-Python RSA implementation";