python3Packages.python-registry: 1.3.1 -> 1.4

This commit is contained in:
Fabian Affolter 2021-07-10 18:52:26 +02:00 committed by Jonathan Ringer
parent 51e3fe5346
commit 6152125110

View file

@ -1,16 +1,20 @@
{ lib
, buildPythonPackage
, fetchPypi
, enum-compat
, fetchFromGitHub
, pytestCheckHook
, unicodecsv
}:
buildPythonPackage rec {
pname = "python-registry";
version = "1.3.1";
version = "1.4";
src = fetchPypi {
inherit pname version;
sha256 = "99185f67d5601be3e7843e55902d5769aea1740869b0882f34ff1bd4b43b1eb2";
src = fetchFromGitHub {
owner = "williballenthin";
repo = pname;
rev = version;
sha256 = "0gwx5jcribgmmbz0ikhz8iphz7yj2d2nmk24nkdrjd3y5irly11s";
};
propagatedBuildInputs = [
@ -18,8 +22,13 @@ buildPythonPackage rec {
unicodecsv
];
# no tests
doCheck = false;
checkInputs = [
pytestCheckHook
];
disabledTestPaths = [
"samples"
];
pythonImportsCheck = [
"Registry"