python3Packages.cock: modernize

This commit is contained in:
Harinn
2026-06-07 23:03:49 +07:00
parent 6d38f3b167
commit 517c548186
@@ -8,13 +8,15 @@
pyyaml,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "cock";
version = "0.11.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Hi8aFxATsYcEO6qNzZnF73V8WLTQjb6Dw2xF4VgT2o4=";
};
@@ -26,9 +28,11 @@ buildPythonPackage rec {
pyyaml
];
pythonImportsCheck = [ "cock" ];
meta = {
homepage = "https://github.com/pohmelie/cock";
description = "Configuration file with click";
license = lib.licenses.mit;
};
}
})