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