diff --git a/pkgs/development/python-modules/javaproperties/default.nix b/pkgs/development/python-modules/javaproperties/default.nix index 1c123bec7ae1..6c7aba178be6 100644 --- a/pkgs/development/python-modules/javaproperties/default.nix +++ b/pkgs/development/python-modules/javaproperties/default.nix @@ -2,27 +2,27 @@ lib, buildPythonPackage, fetchFromGitHub, - setuptools, - six, + hatchling, pytestCheckHook, python-dateutil, + pythonOlder, }: buildPythonPackage rec { version = "0.8.2"; pname = "javaproperties"; - format = "pyproject"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "jwodder"; - repo = pname; + repo = "javaproperties"; tag = "v${version}"; sha256 = "sha256-8Deo6icInp7QpTqa+Ou6l36/23skxKOYRef2GbumDqo="; }; - nativeBuildInputs = [ setuptools ]; - - propagatedBuildInputs = [ six ]; + build-system = [ hatchling ]; nativeCheckInputs = [ python-dateutil @@ -33,10 +33,10 @@ buildPythonPackage rec { disabledTestPaths = [ "test/test_propclass.py" ]; - meta = with lib; { - description = "Microsoft Azure API Management Client Library for Python"; - homepage = "https://github.com/Azure/azure-sdk-for-python"; - license = licenses.mit; + meta = { + description = "Python library for reading and writing Java .properties files"; + homepage = "https://github.com/jwodder/javaproperties"; + license = lib.licenses.mit; maintainers = [ ]; }; }