14 buildPythonPackage rec {
20 src = fetchFromGitHub {
23 rev = "refs/tags/${version}";
24 hash = "sha256-XKRV5VJLC3B5gcNr/icOxWB6pDXDT7MV5wM/vEQHVm4=";
28 substituteInPlace pyproject.toml \
29 --replace-fail "setuptools==75.2.0" "setuptools"
32 build-system = [ setuptools-scm ];
39 pythonImportsCheck = [ "craft_cli" ];
47 pytestFlagsArray = [ "tests/unit" ];
49 passthru.updateScript = nix-update-script { };
52 description = "CLI builder for Canonical's CLI Guidelines";
53 homepage = "https://github.com/canonical/craft-cli";
54 changelog = "https://github.com/canonical/craft-cli/releases/tag/${version}";
55 license = lib.licenses.lgpl3Only;
56 maintainers = with lib.maintainers; [ jnsgruk ];
57 platforms = lib.platforms.linux;