diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2022-06-13 06:51:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 06:51:05 +0200 |
commit | 0d627e417fc31efdf4ca834d0a5b629158aae08b (patch) | |
tree | a8bea113fd3991427f977b5d503f73b41a897eea | |
parent | 5203011e4e1ab5c8e400883ed7b4027d63669f86 (diff) | |
parent | d77c1d5c85f7afdf6f1efda9ddd3de7cb6623314 (diff) | |
download | nixpkgs-0d627e417fc31efdf4ca834d0a5b629158aae08b.tar nixpkgs-0d627e417fc31efdf4ca834d0a5b629158aae08b.tar.gz nixpkgs-0d627e417fc31efdf4ca834d0a5b629158aae08b.tar.bz2 nixpkgs-0d627e417fc31efdf4ca834d0a5b629158aae08b.tar.lz nixpkgs-0d627e417fc31efdf4ca834d0a5b629158aae08b.tar.xz nixpkgs-0d627e417fc31efdf4ca834d0a5b629158aae08b.tar.zst nixpkgs-0d627e417fc31efdf4ca834d0a5b629158aae08b.zip |
Merge pull request #177305 from dotlambda/dmarc-metrics-exporter-0.6.0
dmarc-metrics-exporter: 0.5.1 -> 0.6.0
-rw-r--r-- | pkgs/development/python-modules/bite-parser/default.nix | 11 | ||||
-rw-r--r-- | pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix | 16 |
2 files changed, 6 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/bite-parser/default.nix b/pkgs/development/python-modules/bite-parser/default.nix index 25d753f1ac7..dc11813554a 100644 --- a/pkgs/development/python-modules/bite-parser/default.nix +++ b/pkgs/development/python-modules/bite-parser/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "bite-parser"; - version = "0.1.1"; + version = "0.1.3"; disabled = pythonOlder "3.7"; @@ -18,15 +18,9 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "8021100bfbd6cc6056605361e763a3591efdea38014b3d8aa76c74c74de4ead4"; + sha256 = "0f246e98a5556d6ed9a33fda1e94c3ab906305729feb30d25e35344b3e1c1fd9"; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'python = "^3.7,<=3.10"' 'python = "^3.7,<3.11"' \ - --replace poetry.masonry.api poetry.core.masonry.api - ''; - nativeBuildInputs = [ poetry-core ]; @@ -42,6 +36,7 @@ buildPythonPackage rec { meta = { description = "Asynchronous parser taking incremental bites out of your byte input stream"; homepage = "https://github.com/jgosmann/bite-parser"; + changelog = "https://github.com/jgosmann/bite-parser/blob/v${version}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; diff --git a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix b/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix index ca5ce804e17..2ec89972a65 100644 --- a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix +++ b/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix @@ -1,11 +1,10 @@ { lib , python3 -, fetchpatch }: python3.pkgs.buildPythonApplication rec { pname = "dmarc-metrics-exporter"; - version = "0.5.1"; + version = "0.6.0"; disabled = python3.pythonOlder "3.7"; @@ -13,21 +12,11 @@ python3.pkgs.buildPythonApplication rec { src = python3.pkgs.fetchPypi { inherit pname version; - sha256 = "22ec361f9a4c86abefbfab541f588597e21bf4fbedf2911f230e560b2ec3503a"; + sha256 = "70f39b373ead42acb8caf56040f7ebf13ab67aea505511025c09ecf4560f8b1b"; }; - patches = [ - # https://github.com/jgosmann/dmarc-metrics-exporter/pull/23 - (fetchpatch { - url = "https://github.com/jgosmann/dmarc-metrics-exporter/commit/3fe401f5dfb9e0304601a2a89ac987ff853b7cba.patch"; - hash = "sha256-MjVLlFQMp2r3AhBMu1lEmRm0Y2H9FdvCfPgAK5kvwWE="; - }) - ]; - postPatch = '' substituteInPlace pyproject.toml \ - --replace 'python = "^3.7,<3.10"' 'python = "^3.7,<3.11"' \ - --replace poetry.masonry.api poetry.core.masonry.api \ --replace '"^' '">=' ''; @@ -63,6 +52,7 @@ python3.pkgs.buildPythonApplication rec { meta = { description = "Export Prometheus metrics from DMARC reports"; homepage = "https://github.com/jgosmann/dmarc-metrics-exporter"; + changelog = "https://github.com/jgosmann/dmarc-metrics-exporter/blob/v${version}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ma27 ]; }; |