Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, click, setuptools-scm,}:
buildPythonPackage (finalAttrs: { pname = "cloup"; version = "3.1.0"; pyproject = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Y3weYo/pjz8gpeRNpZGnK0K/VNfUUnGQvzntX2SvdYU="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail "setuptools_scm<10" setuptools_scm '';
build-system = [ setuptools-scm ];
dependencies = [ click ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cloup" ];
meta = { homepage = "https://github.com/janLuke/cloup"; description = "Click extended with option groups, constraints, aliases, help themes"; changelog = "https://github.com/janluke/cloup/releases/tag/v${finalAttrs.version}"; longDescription = '' Enriches Click with option groups, constraints, command aliases, help sections for subcommands, themes for --help and other stuff. ''; license = lib.licenses.bsd3; maintainers = [ ]; };})