14 buildPythonPackage rec {
20 src = fetchFromGitHub {
23 rev = "refs/tags/${version}";
24 hash = "sha256-PNurNP0ghG/R0rcUc5GfuPM5PTt+9FbJRjs61YJ1ytc=";
28 substituteInPlace pyproject.toml \
29 --replace-fail "setuptools==70.1.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;