summaryrefslogtreecommitdiff
path: root/package.nix
blob: 0de05cfc02ee78499774bc8a11f262dcc95925f7 (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
{
  lib,
  buildGoModule,
}:

buildGoModule {
  pname = "ddnnss";
  version = "1.0";

  src = lib.fileset.toSource {
    root = ./.;
    fileset = lib.fileset.unions [
      ./go.mod
      ./main.go
      ./config.go
      ./source
      ./provider
    ];
  };

  # stdlib only.
  vendorHash = null;

  meta = {
    description = "dynamic domain no-name system service";
    homepage = "https://git.rnrd.eu/ddnnss";
    license = lib.licenses.mpl20;
    mainProgram = "ddnnss";
  };
}