python312Packages.glean-parser: 4.1.2 -> 4.3.0

This commit is contained in:
Pyrox
2024-07-29 12:59:09 -04:00
parent edf6a2bbf2
commit ea02102a7c
@@ -8,43 +8,39 @@
jinja2,
jsonschema,
pytestCheckHook,
pythonOlder,
pyyaml,
setuptools,
setuptools-scm,
yamllint,
}:
buildPythonPackage rec {
pname = "glean-parser";
version = "14.1.2";
format = "setuptools";
disabled = pythonOlder "3.8";
version = "14.3.0";
pyproject = true;
src = fetchPypi {
pname = "glean_parser";
inherit version;
hash = "sha256-OL59Tg+rD4M0DjQnkU4IqGMcf6sIioxg6bVDyrbqgww=";
hash = "sha256-tI1kMCn7gksLdq2ytKAOiKSd5OxHmsnFrdUsUR6b5IE=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" "" \
--replace "MarkupSafe>=1.1.1,<=2.0.1" "MarkupSafe>=1.1.1"
--replace-fail "pytest-runner" ""
'';
nativeBuildInputs = [ setuptools-scm ];
build-system = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
appdirs
click
diskcache
jinja2
jsonschema
pyyaml
setuptools
yamllint
];
nativeCheckInputs = [ pytestCheckHook ];
@@ -63,12 +59,12 @@ buildPythonPackage rec {
pythonImportsCheck = [ "glean_parser" ];
meta = with lib; {
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 = licenses.mpl20;
license = lib.licenses.mpl20;
maintainers = [ ];
};
}