python3Packages.human-readable: modernize

This commit is contained in:
Fabian Affolter
2026-04-26 20:18:57 +02:00
committed by GitHub
parent 0e99ff32e0
commit 1d657eb9a9
@@ -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 ];
};
}
})