python310Packages.ge25519: 1.2.0 -> 1.3.0

This commit is contained in:
Fabian Affolter 2022-08-08 22:29:07 +02:00
parent 49e5fbba0b
commit 9a195f05ff

View file

@ -4,7 +4,6 @@
, fe25519
, fetchPypi
, fountains
, nose
, parts
, pytestCheckHook
, pythonOlder
@ -12,14 +11,14 @@
buildPythonPackage rec {
pname = "ge25519";
version = "1.2.0";
format = "setuptools";
version = "1.3.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8GsNY62SusUmQcaqlhKOPHbd0jvZulCaxMxeob37JJM=";
hash = "sha256-y9Nv59pLWk1kRjZG3EmalT34Mjx7RLZ4WkvJlRrK5LI=";
};
propagatedBuildInputs = [
@ -30,16 +29,14 @@ buildPythonPackage rec {
];
checkInputs = [
nose
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.cfg \
--replace " --cov=ge25519 --cov-report term-missing" ""
substituteInPlace pyproject.toml \
--replace "--doctest-modules --ignore=docs --cov=ge25519 --cov-report term-missing" ""
'';
pythonImportsCheck = [
"ge25519"
];