python313Packages.ecpy: refactor (#433819)
This commit is contained in:
@@ -2,26 +2,21 @@
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
isPy3k,
|
||||
future,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ecpy";
|
||||
version = "1.2.5";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "ECPy";
|
||||
inherit version;
|
||||
sha256 = "9635cffb9b6ecf7fd7f72aea1665829ac74a1d272006d0057d45a621aae20228";
|
||||
hash = "sha256-ljXP+5tuz3/X9yrqFmWCmsdKHScgBtAFfUWmIariAig=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i "s|reqs.append('future')|pass|" setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = lib.optional (!isPy3k) future;
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# No tests implemented
|
||||
doCheck = false;
|
||||
@@ -31,6 +26,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Pure Pyhton Elliptic Curve Library";
|
||||
homepage = "https://github.com/ubinity/ECPy";
|
||||
changelog = "https://github.com/cslashm/ECPy/releases/tag/${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user