Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, nix-update-script, overrides, setuptools, pytest-check, pytest-mock, pytestCheckHook, pydantic_1, pyyaml,}:
buildPythonPackage rec { pname = "craft-grammar"; version = "1.2.0";
pyproject = true;
src = fetchFromGitHub { owner = "canonical"; repo = "craft-grammar"; rev = "refs/tags/${version}"; hash = "sha256-YQpxgdmUxYLkhAXDLlkLAK6VpjIEycLFY3nsE/M4o2g="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ overrides ];
pythonImportsCheck = [ "craft_grammar" ];
nativeCheckInputs = [ pydantic_1 pytestCheckHook pyyaml ];
pytestFlagsArray = [ "tests/unit" ];
passthru.updateScript = nix-update-script { };
meta = { description = "Advanced grammar for Canonical's craft-parts library"; homepage = "https://github.com/canonical/craft-grammar"; changelog = "https://github.com/canonical/craft-grammar/releases/tag/${version}"; license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ jnsgruk ]; platforms = lib.platforms.linux; };}