summaryrefslogtreecommitdiff
path: root/overlays/postfix-mta-sts-resolver.nix
blob: 6a08861d2dfe8c44cb5e8f4eea1b4a695cd35b21 (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
32
33
{ final, prev, flakeInputs, sources, ... }:
let
  inherit (final.stdenv.targetPlatform) system;
in {
  postfix-mta-sts-resolver = flakeInputs.mach-nix.lib.${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 ];
  };
}