14 buildPythonPackage rec {
15 pname = "craft-grammar";
20 src = fetchFromGitHub {
22 repo = "craft-grammar";
23 rev = "refs/tags/${version}";
24 hash = "sha256-YQpxgdmUxYLkhAXDLlkLAK6VpjIEycLFY3nsE/M4o2g=";
31 propagatedBuildInputs = [
35 pythonImportsCheck = [
45 pytestFlagsArray = [ "tests/unit" ];
47 passthru.updateScript = nix-update-script { };
50 description = "Advanced grammar for Canonical's craft-parts library";
51 homepage = "https://github.com/canonical/craft-grammar";
52 changelog = "https://github.com/canonical/craft-grammar/releases/tag/${version}";
53 license = lib.licenses.lgpl3Only;
54 maintainers = with lib.maintainers; [ jnsgruk ];
55 platforms = lib.platforms.linux;