From 7f04383e716b8b5b67e28422d7d72896fb080918 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 11 Jul 2022 09:28:58 +0200 Subject: bouncy.email: MTA-STS --- overlays/postfix-mta-sts-resolver.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 overlays/postfix-mta-sts-resolver.nix (limited to 'overlays/postfix-mta-sts-resolver.nix') diff --git a/overlays/postfix-mta-sts-resolver.nix b/overlays/postfix-mta-sts-resolver.nix new file mode 100644 index 00000000..3f08920f --- /dev/null +++ b/overlays/postfix-mta-sts-resolver.nix @@ -0,0 +1,25 @@ +{ final, prev, flakeInputs, sources, ... }: +{ + postfix-mta-sts-resolver = flakeInputs.mach-nix.lib.${final.system}.buildPythonPackage { + inherit (sources.postfix-mta-sts-resolver) src pname version; + extras = "redis"; + ignoreDataOutdated = true; + + requirements = '' + redis>=4.2.0rc1 + aiodns>=1.1.1 + aiohttp>=3.4.4 + PyYAML>=3.12 + ''; + + providers._default = "nixpkgs,sdist"; + + overridesPost = [ + (self: super: { + frozenlist = super.frozenlist.overrideAttrs (oldAttrs: { + nativeBuildInputs = (oldAttrs.nativeBuildInputs or []) ++ [ final.python310Packages.cython ]; + }); + }) + ]; + }; +} -- cgit v1.2.3