mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
23 lines
521 B
Nix
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;
|
|
};
|
|
}
|