nixpkgs/pkgs/development/python-modules/glean-parser/default.nix
Martin Weinelt e92ff44dbd python3Packages.glean-parser: 17.3.0 -> 18.2.0
https://github.com/mozilla/glean_parser/blob/v18.2.0/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:09 +01:00

65 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
click,
diskcache,
fetchPypi,
hatchling,
hatch-vcs,
jinja2,
jsonschema,
platformdirs,
pytestCheckHook,
pyyaml,
}:
buildPythonPackage rec {
pname = "glean-parser";
version = "18.2.0";
pyproject = true;
src = fetchPypi {
pname = "glean_parser";
inherit version;
hash = "sha256-VDLOZL9HMp3+Smt+QE1TnMsG2Z/d633u7XRUkfvVt+c=";
};
build-system = [
hatchling
hatch-vcs
];
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 = [ ];
};
}