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