summaryrefslogtreecommitdiff
path: root/overlays/postfix-mta-sts-resolver.nix
blob: 22fc4118842026d5b84ee0909f1d009776c76694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ 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,uvloop";
    ignoreDataOutdated = true;

    requirements = ''
      redis>=4.2.0rc1
      uvloop>=0.11.0
      aiodns>=1.1.1
      aiohttp>=3.4.4
      PyYAML>=3.12
    '';

    providers.cffi = "nixpkgs";

    # providers._default = "nixpkgs,sdist";

    # overridesPost = [
    #   (self: super: {
    #     frozenlist = super.frozenlist.overrideAttrs (oldAttrs: {
    #       nativeBuildInputs = (oldAttrs.nativeBuildInputs or []) ++ [ final.python310Packages.cython ];
    #     });
    #   })
    # ];

    # _.pyparsing.buildInputs.add = with final.python310Packages; [ flit-core ];
    # _.idna.buildInputs.add = with final.python310Packages; [ flit-core ];
  };
}