2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, isPy3k, future }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ECPy";
|
2020-11-19 00:13:47 +00:00
|
|
|
version = "1.2.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-19 00:13:47 +00:00
|
|
|
sha256 = "9635cffb9b6ecf7fd7f72aea1665829ac74a1d272006d0057d45a621aae20228";
|
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;
|
|
|
|
};
|
|
|
|
}
|