Something went wrong. Try again.
lol
Something went wrong. Try again.
1.5 kB · 62 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub, importlib-metadata, pytestCheckHook,
# large-rebuild downstream dependencies and applications flask, black, magic-wormhole, mitmproxy, typer, flit-core,}:
buildPythonPackage rec { pname = "click"; version = "8.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "pallets"; repo = "click"; tag = version; hash = "sha256-MbaIQJr6GbM8JwdbUkbeC8TqWN5dH82pFOqHwJE2PBA="; };
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # for some reason the tests fail to execute cat, even though they run with less just fine, # even adding coreutils to nativeCheckInputs explicitly does not change anything "test_echo_via_pager" # test fails with filename normalization on zfs "test_file_surrogates" ];
passthru.tests = { inherit black flask magic-wormhole mitmproxy typer ; };
meta = { changelog = "https://github.com/pallets/click/blob/${src.tag}/CHANGES.rst"; homepage = "https://click.palletsprojects.com/"; description = "Create beautiful command line interfaces in Python"; longDescription = '' A Python package for creating beautiful command line interfaces in a composable way, with as little code as necessary. ''; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ nickcao ]; };}