Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 35 lines 651 B view raw
1{ lib, fetchPypi, buildPythonPackage 2# buildInputs 3, six 4, setuptools 5, pyopenssl 6, cryptography 7}: 8 9buildPythonPackage rec { 10 pname = "josepy"; 11 version = "1.2.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "1lq2s1649zinfii9ccl1wk6aqpaj35r8xwz44020ylp9ky1rmv4w"; 16 }; 17 18 propagatedBuildInputs = [ 19 pyopenssl 20 cryptography 21 six 22 setuptools 23 ]; 24 25 # too many unpackaged check requirements 26 doCheck = false; 27 28 meta = with lib; { 29 description = "JOSE protocol implementation in Python"; 30 homepage = https://github.com/jezdez/josepy; 31 license = licenses.asl20; 32 maintainers = with maintainers; [ ]; 33 }; 34} 35