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