python3Packages.python-stdnum: 1.20 -> 2.1

https://github.com/arthurdejong/python-stdnum/blob/2.1/ChangeLog

This commit was automatically generated using update-python-libraries.

Changed files
+10 -9
pkgs
development
python-modules
python-stdnum
+10 -9
pkgs/development/python-modules/python-stdnum/default.nix
···
{
lib,
buildPythonPackage,
-
fetchPypi,
+
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
setuptools,
···
version = "2.1";
pyproject = true;
-
src = fetchPypi {
-
pname = "python_stdnum";
-
inherit version;
-
hash = "sha256-awFkWWnrPf1VBhoBFNWTdTzZ5lPOqQgxmLfuoSZEOXo=";
+
src = fetchFromGitHub {
+
owner = "arthurdejong";
+
repo = "python-stdnum";
+
tag = version;
+
hash = "sha256-9m4tO9TX9lV4V3wTkMFDj0Mc+jl4bKsHM/adeF3cBTE=";
};
build-system = [ setuptools ];
+
+
optional-dependencies = {
+
SOAP = [ zeep ];
+
};
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
-
-
optional-dependencies = {
-
SOAP = [ zeep ];
-
};
pythonImportsCheck = [ "stdnum" ];