diff options
Diffstat (limited to 'pkgs/development/python-modules/atpublic/default.nix')
-rw-r--r-- | pkgs/development/python-modules/atpublic/default.nix | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/atpublic/default.nix b/pkgs/development/python-modules/atpublic/default.nix index 41cbe28b8a268..cf752f0a59c52 100644 --- a/pkgs/development/python-modules/atpublic/default.nix +++ b/pkgs/development/python-modules/atpublic/default.nix @@ -1,32 +1,29 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pytestCheckHook -, pythonOlder -, pdm-backend -, sybil -, typing-extensions +{ + lib, + buildPythonPackage, + fetchPypi, + pytestCheckHook, + pythonOlder, + hatchling, + sybil, + typing-extensions, }: buildPythonPackage rec { pname = "atpublic"; - version = "4.0"; + version = "4.1.0"; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-D0BDMhnhJO3xFcbDY4CMpvDhz6fRYNhrL7lHkwhtEpQ="; + hash = "sha256-0cjNkxr3Rh9tGLxgYzg+hlTZ6e8Z1Y7m3AHoUVu/Vd8="; }; - nativeBuildInputs = [ - pdm-backend - ]; + nativeBuildInputs = [ hatchling ]; - propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ - typing-extensions - ]; + propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ typing-extensions ]; nativeCheckInputs = [ pytestCheckHook @@ -42,9 +39,7 @@ buildPythonPackage rec { sed -i '/cov=public/d' pyproject.toml ''; - pythonImportsCheck = [ - "public" - ]; + pythonImportsCheck = [ "public" ]; meta = with lib; { description = "Python decorator and function which populates a module's __all__ and globals"; |