Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 70 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ lib, buildPythonPackage, click, diskcache, fetchPypi, jinja2, jsonschema, platformdirs, pytestCheckHook, pyyaml, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "glean-parser"; version = "17.1.0"; pyproject = true;
src = fetchPypi { pname = "glean_parser"; inherit version; hash = "sha256-pZq2bdc0qL6n16LLYyJ2YC3YmUEe4cHLifQ5qDO6FZg="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail "pytest-runner" "" '';
build-system = [ setuptools setuptools-scm ];
dependencies = [ click diskcache jinja2 jsonschema pyyaml platformdirs ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = '' export HOME=$TMPDIR '';
disabledTests = [ # Network access "test_validate_ping" "test_logging" # Fails since yamllint 1.27.x "test_yaml_lint" ];
pythonImportsCheck = [ "glean_parser" ];
meta = { description = "Tools for parsing the metadata for Mozilla's glean telemetry SDK"; mainProgram = "glean_parser"; homepage = "https://github.com/mozilla/glean_parser"; changelog = "https://github.com/mozilla/glean_parser/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ ]; };}