diff options
Diffstat (limited to 'overlays')
-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 | } | ||