python3Packages.human-readable: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user