Files
nixpkgs/pkgs/development/python-modules/cock/default.nix
2026-06-07 23:03:49 +07:00

39 lines
647 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
click,
sortedcontainers,
pyyaml,
}:
buildPythonPackage (finalAttrs: {
pname = "cock";
version = "0.11.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-Hi8aFxATsYcEO6qNzZnF73V8WLTQjb6Dw2xF4VgT2o4=";
};
build-system = [ setuptools ];
dependencies = [
click
sortedcontainers
pyyaml
];
pythonImportsCheck = [ "cock" ];
meta = {
homepage = "https://github.com/pohmelie/cock";
description = "Configuration file with click";
license = lib.licenses.mit;
};
})