Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 534 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pkgs 5, six 6}: 7 8buildPythonPackage rec { 9 pname = "ecdsa"; 10 version = "0.15"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "8f12ac317f8a1318efa75757ef0a651abe12e51fc1af8838fb91079445227277"; 15 }; 16 17 propagatedBuildInputs = [ six ]; 18 # Only needed for tests 19 checkInputs = [ pkgs.openssl ]; 20 21 meta = with stdenv.lib; { 22 description = "ECDSA cryptographic signature library"; 23 homepage = "https://github.com/warner/python-ecdsa"; 24 license = licenses.mit; 25 }; 26 27}