diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-07-11 09:28:58 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-07-11 09:28:58 +0200 |
commit | 7f04383e716b8b5b67e28422d7d72896fb080918 (patch) | |
tree | 31e64aaf5e49fa0ffbc56962c35f83bd17f7b9c7 /overlays/postfix-mta-sts-resolver.nix | |
parent | a834240c59d3cbec274a5249463f339ede65bc85 (diff) | |
download | nixos-7f04383e716b8b5b67e28422d7d72896fb080918.tar nixos-7f04383e716b8b5b67e28422d7d72896fb080918.tar.gz nixos-7f04383e716b8b5b67e28422d7d72896fb080918.tar.bz2 nixos-7f04383e716b8b5b67e28422d7d72896fb080918.tar.xz nixos-7f04383e716b8b5b67e28422d7d72896fb080918.zip |
bouncy.email: MTA-STS
Diffstat (limited to 'overlays/postfix-mta-sts-resolver.nix')
-rw-r--r-- | overlays/postfix-mta-sts-resolver.nix | 25 |
1 files changed, 25 insertions, 0 deletions
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 @@ | |||
1 | { final, prev, flakeInputs, sources, ... }: | ||
2 | { | ||
3 | postfix-mta-sts-resolver = flakeInputs.mach-nix.lib.${final.system}.buildPythonPackage { | ||
4 | inherit (sources.postfix-mta-sts-resolver) src pname version; | ||
5 | extras = "redis"; | ||
6 | ignoreDataOutdated = true; | ||
7 | |||
8 | requirements = '' | ||
9 | redis>=4.2.0rc1 | ||
10 | aiodns>=1.1.1 | ||
11 | aiohttp>=3.4.4 | ||
12 | PyYAML>=3.12 | ||
13 | ''; | ||
14 | |||
15 | providers._default = "nixpkgs,sdist"; | ||
16 | |||
17 | overridesPost = [ | ||
18 | (self: super: { | ||
19 | frozenlist = super.frozenlist.overrideAttrs (oldAttrs: { | ||
20 | nativeBuildInputs = (oldAttrs.nativeBuildInputs or []) ++ [ final.python310Packages.cython ]; | ||
21 | }); | ||
22 | }) | ||
23 | ]; | ||
24 | }; | ||
25 | } | ||