prometheus-dmarc-exporter: Add missing build-system dependencies with overrides

I will add these upstream in poetry2nix and remove them from here once released.
This commit is contained in:
adisbladis 2022-04-01 23:34:29 +12:00
parent 18262c79e1
commit 9511feef72

View file

@ -7,7 +7,8 @@ let
poetry2nix.defaultPoetryOverrides poetry2nix.defaultPoetryOverrides
(import ./poetry-git-overlay.nix { inherit pkgs; }) (import ./poetry-git-overlay.nix { inherit pkgs; })
(self: super: { (self: super: {
dmarc-metrics-exporter = super.dmarc-metrics-exporter.overridePythonAttrs ({ meta ? {}, ... }: { dmarc-metrics-exporter = super.dmarc-metrics-exporter.overridePythonAttrs ({ nativeBuildInputs ? [ ], meta ? {}, ... }: {
nativeBuildInputs = nativeBuildInputs ++ [ self.poetry ];
meta = with lib; meta // { meta = with lib; meta // {
license = licenses.mit; license = licenses.mit;
homepage = "https://github.com/jgosmann/dmarc-metrics-exporter/"; homepage = "https://github.com/jgosmann/dmarc-metrics-exporter/";
@ -44,6 +45,9 @@ let
''; '';
}); });
dataclasses = null; dataclasses = null;
bite-parser = super.bite-parser.overridePythonAttrs (old: {
nativeBuildInputs = old.nativeBuildInputs ++ [ self.poetry ];
});
}) })
]; ];
}) python; }) python;