2018-08-31 15:44:47 +02:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, isPy3k, future }:
|
2017-05-31 22:23:21 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ECPy";
|
2018-08-31 15:44:47 +02:00
|
|
|
version = "0.9.1";
|
2018-02-22 01:36:10 +01:00
|
|
|
|
2017-05-31 22:23:21 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-31 15:44:47 +02:00
|
|
|
sha256 = "f0df66be67f3de0152dfb3c453f4247bdfa2b4e37aa75b98617a637376032229";
|
2017-05-31 22:23:21 +02:00
|
|
|
};
|
|
|
|
|
2018-08-31 15:44:47 +02:00
|
|
|
propagatedBuildInputs = lib.optional (!isPy3k) future;
|
|
|
|
|
|
|
|
# No tests implemented
|
|
|
|
doCheck = false;
|
2017-05-31 22:23:21 +02:00
|
|
|
|
2018-08-31 15:44:47 +02:00
|
|
|
meta = with lib; {
|
2017-05-31 22:23:21 +02:00
|
|
|
description = "Pure Pyhton Elliptic Curve Library";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/ubinity/ECPy;
|
2017-05-31 22:23:21 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|