21 buildPythonPackage rec {
22 pname = "craft-store";
27 src = fetchFromGitHub {
30 rev = "refs/tags/${version}";
31 hash = "sha256-l8WnuaMJN4/nZRkWoU6omgbd4hKR2m7YC+YVcvAqzcA=";
35 substituteInPlace pyproject.toml \
36 --replace-fail "setuptools==" "setuptools>="
39 build-system = [ setuptools-scm ];
51 pythonRelaxDeps = [ "macaroonbakery" ];
53 pythonImportsCheck = [ "craft_store" ];
63 pytestFlagsArray = [ "tests/unit" ];
65 passthru.updateScript = nix-update-script { };
68 description = "Interfaces for communicating with Canonical Stores (e.g. Snap Store)";
69 homepage = "https://github.com/canonical/craft-store";
70 changelog = "https://github.com/canonical/craft-store/releases/tag/${version}";
71 license = lib.licenses.lgpl3Only;
72 maintainers = with lib.maintainers; [ jnsgruk ];
73 platforms = lib.platforms.linux;