2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, isPy3k, future }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ECPy";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "1.2.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "6dd09f8cda5a1d673228ff9ef41aea8f036ee5ef3183198de83c14957d68c3e0";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = lib.optional (!isPy3k) future;
|
|
|
|
|
|
|
|
# No tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pure Pyhton Elliptic Curve Library";
|
|
|
|
homepage = "https://github.com/ubinity/ECPy";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|