~aasg/nixexprs

ref: 13602af11fd6bd1993a14568515b281b0edb0463 nixexprs/pkgs/servers/dns/trust-dns/default.nix -rw-r--r-- 626 bytes
13602af1 — Aluísio Augusto Silva Gonçalves trust-dns: Add dependency on libiconv 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib
, callPackage
, defaultCrateOverrides
, libiconv
, features ? [ ]
}:

(callPackage ./Cargo.nix { }).workspaceMembers.trust-dns.build.override {
  inherit features;
  crateOverrides = defaultCrateOverrides // {
    trust-dns = attrs: {
      builtInputs = [ libiconv ];
      extraLinkFlags = [ "-L${libiconv}/lib" ];

      meta = with lib; {
        description = "Rust-based DNS client, server, and resolver";
        homepage = "https://github.com/bluejekyll/trust-dns";
        license = licenses.mit;
        maintainers = with maintainers; [ AluisioASG ];
        platforms = platforms.all;
      };
    };
  };
}