diff options
Diffstat (limited to 'pkgs/development/python-modules/scramp/default.nix')
-rw-r--r-- | pkgs/development/python-modules/scramp/default.nix | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/scramp/default.nix b/pkgs/development/python-modules/scramp/default.nix index db2a741ccd4fb..63014b75aa347 100644 --- a/pkgs/development/python-modules/scramp/default.nix +++ b/pkgs/development/python-modules/scramp/default.nix @@ -3,18 +3,17 @@ asn1crypto, buildPythonPackage, fetchFromGitHub, - importlib-metadata, + hatchling, pytest-mock, pytestCheckHook, pythonOlder, - setuptools, - wheel, + versioningit, }: buildPythonPackage rec { pname = "scramp"; - version = "1.4.4"; - format = "pyproject"; + version = "1.4.5"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -22,15 +21,15 @@ buildPythonPackage rec { owner = "tlocke"; repo = "scramp"; rev = version; - hash = "sha256-WOyv1fLSXG7p+WKs2QSwlsh8FSK/lxp6I1hPY0VIkKo="; + hash = "sha256-KpododRJ+CYRGBR7Sr5cVBhJvUwh9YmPERd/DAJqEcY="; }; - nativeBuildInputs = [ - setuptools - wheel + build-system = [ + hatchling + versioningit ]; - propagatedBuildInputs = [ asn1crypto ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; + dependencies = [ asn1crypto ]; nativeCheckInputs = [ pytest-mock @@ -52,6 +51,6 @@ buildPythonPackage rec { description = "Implementation of the SCRAM authentication protocol"; homepage = "https://github.com/tlocke/scramp"; license = licenses.mit; - maintainers = with maintainers; [ ]; + maintainers = [ ]; }; } |