nixpkgs/pkgs/development/python-modules/ecpy/default.nix
2018-08-31 15:56:52 +02:00

23 lines
521 B
Nix

{ lib, fetchPypi, buildPythonPackage, isPy3k, future }:
buildPythonPackage rec {
pname = "ECPy";
version = "0.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "f0df66be67f3de0152dfb3c453f4247bdfa2b4e37aa75b98617a637376032229";
};
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;
};
}