diff --git a/pkgs/development/python-modules/nocaselist/default.nix b/pkgs/development/python-modules/nocaselist/default.nix index 3a11c78f3453..a1c8909e5fa4 100644 --- a/pkgs/development/python-modules/nocaselist/default.nix +++ b/pkgs/development/python-modules/nocaselist/default.nix @@ -1,18 +1,29 @@ -{ lib, buildPythonPackage, fetchPypi -, pytest +{ lib +, buildPythonPackage +, fetchPypi +, pytestCheckHook +, pythonOlder +, six }: buildPythonPackage rec { pname = "nocaselist"; - version = "1.0.6"; + version = "1.1.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-SPBn+MuEEkXzTQMSC8G6mQDxOxnLUbzGx77gF/fIdNo="; + sha256 = "sha256-qZOEq8cAxAnp3vcUN2PhjfrTMv3/fjD64fbRows3J3I="; }; + propagatedBuildInputs = [ + six + ]; + nativeCheckInputs = [ - pytest + pytestCheckHook ]; pythonImportsCheck = [ @@ -22,6 +33,7 @@ buildPythonPackage rec { meta = with lib; { description = "A case-insensitive list for Python"; homepage = "https://github.com/pywbem/nocaselist"; + changelog = "https://github.com/pywbem/nocaselist/blob/${version}/docs/changes.rst"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ freezeboy ]; };