nixpkgs/pkgs/development/python-modules/ecpy/default.nix

23 lines
523 B
Nix
Raw Normal View History

2018-08-31 13:44:47 +00:00
{ lib, fetchPypi, buildPythonPackage, isPy3k, future }:
2017-05-31 20:23:21 +00:00
buildPythonPackage rec {
pname = "ECPy";
2020-06-06 06:47:06 +00:00
version = "1.2.3";
2017-05-31 20:23:21 +00:00
src = fetchPypi {
inherit pname version;
2020-06-06 06:47:06 +00:00
sha256 = "6dd09f8cda5a1d673228ff9ef41aea8f036ee5ef3183198de83c14957d68c3e0";
2017-05-31 20:23:21 +00:00
};
2018-08-31 13:44:47 +00:00
propagatedBuildInputs = lib.optional (!isPy3k) future;
# No tests implemented
doCheck = false;
2017-05-31 20:23:21 +00:00
2018-08-31 13:44:47 +00:00
meta = with lib; {
2017-05-31 20:23:21 +00:00
description = "Pure Pyhton Elliptic Curve Library";
homepage = "https://github.com/ubinity/ECPy";
2017-05-31 20:23:21 +00:00
license = licenses.asl20;
};
}