diff --git a/pkgs/development/python-modules/human-readable/default.nix b/pkgs/development/python-modules/human-readable/default.nix index 279f6807d98e..faa76071c3f1 100644 --- a/pkgs/development/python-modules/human-readable/default.nix +++ b/pkgs/development/python-modules/human-readable/default.nix @@ -6,27 +6,28 @@ hatch-vcs, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "human-readable"; version = "2.0.3"; + pyproject = true; src = fetchPypi { pname = "human_readable"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-P4Ef1W7oZpVyyy7J+FK1PuBwB0jlPDaVcx/9mrT8Uks="; }; - pyproject = true; - - nativeBuildInputs = [ + build-system = [ hatchling hatch-vcs ]; + pythonImportsCheck = [ "human_readable" ]; + meta = { description = "Library to make data intended for machines, readable to humans"; homepage = "https://github.com/staticdev/human-readable"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mkg20001 ]; }; -} +})