HWI: allow building with unstable nixpkgs

This commit is contained in:
Jonas Nick
2020-05-03 18:32:49 +00:00
parent 199b9bf315
commit b7047c7286
4 changed files with 59 additions and 5 deletions
+28
View File
@@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
, six
}:
buildPythonPackage rec {
pname = "ecdsa";
version = "0.13.3";
src = fetchPypi {
inherit pname version;
sha256 = "163c80b064a763ea733870feb96f9dd9b92216cfcacd374837af18e4e8ec3d4d";
};
propagatedBuildInputs = [ six ];
# Only needed for tests
checkInputs = [ pkgs.openssl ];
meta = with stdenv.lib; {
description = "ECDSA cryptographic signature library";
homepage = "https://github.com/warner/python-ecdsa";
license = licenses.mit;
maintainers = with maintainers; [ aszlig ];
};
}