diff options
Diffstat (limited to 'pkgs/development/python-modules/glean-parser/default.nix')
-rw-r--r-- | pkgs/development/python-modules/glean-parser/default.nix | 47 |
1 files changed, 22 insertions, 25 deletions
diff --git a/pkgs/development/python-modules/glean-parser/default.nix b/pkgs/development/python-modules/glean-parser/default.nix index 86a4c6248f5d4..bf22e5bce9196 100644 --- a/pkgs/development/python-modules/glean-parser/default.nix +++ b/pkgs/development/python-modules/glean-parser/default.nix @@ -1,21 +1,23 @@ -{ lib -, appdirs -, buildPythonPackage -, click -, diskcache -, fetchPypi -, jinja2 -, jsonschema -, pytestCheckHook -, pythonOlder -, pyyaml -, setuptools-scm -, yamllint +{ + lib, + appdirs, + buildPythonPackage, + click, + diskcache, + fetchPypi, + jinja2, + jsonschema, + pytestCheckHook, + pythonOlder, + pyyaml, + setuptools, + setuptools-scm, + yamllint, }: buildPythonPackage rec { pname = "glean-parser"; - version = "13.0.1"; + version = "14.1.2"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -23,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "glean_parser"; inherit version; - hash = "sha256-/urUy+xpMO04pI31uunrTuSGu0Am3fLzIGuF+AJ50ec="; + hash = "sha256-OL59Tg+rD4M0DjQnkU4IqGMcf6sIioxg6bVDyrbqgww="; }; postPatch = '' @@ -32,9 +34,7 @@ buildPythonPackage rec { --replace "MarkupSafe>=1.1.1,<=2.0.1" "MarkupSafe>=1.1.1" ''; - nativeBuildInputs = [ - setuptools-scm - ]; + nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ appdirs @@ -43,12 +43,11 @@ buildPythonPackage rec { jinja2 jsonschema pyyaml + setuptools yamllint ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; preCheck = '' export HOME=$TMPDIR @@ -62,9 +61,7 @@ buildPythonPackage rec { "test_yaml_lint" ]; - pythonImportsCheck = [ - "glean_parser" - ]; + pythonImportsCheck = [ "glean_parser" ]; meta = with lib; { description = "Tools for parsing the metadata for Mozilla's glean telemetry SDK"; @@ -72,6 +69,6 @@ buildPythonPackage rec { homepage = "https://github.com/mozilla/glean_parser"; changelog = "https://github.com/mozilla/glean_parser/blob/v${version}/CHANGELOG.md"; license = licenses.mpl20; - maintainers = with maintainers; []; + maintainers = with maintainers; [ ]; }; } |