tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
dnstake: refactor
Fabian Affolter
8 months ago
abfa1df8
f340e1b5
+5
-14
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
dn
dnstake
package.nix
+5
-14
pkgs/by-name/dn/dnstake/package.nix
···
2
2
lib,
3
3
buildGoModule,
4
4
fetchFromGitHub,
5
5
-
fetchpatch,
6
5
}:
7
6
8
7
buildGoModule rec {
···
11
10
12
11
src = fetchFromGitHub {
13
12
owner = "pwnesia";
14
14
-
repo = pname;
15
15
-
rev = "v${version}";
16
16
-
sha256 = "sha256-k6j7DIwK8YAKmEjn8JJO7XBcap9ui6cgUSJG7CeHAAM=";
13
13
+
repo = "dnstake";
14
14
+
tag = "v${version}";
15
15
+
hash = "sha256-k6j7DIwK8YAKmEjn8JJO7XBcap9ui6cgUSJG7CeHAAM=";
17
16
};
18
17
19
19
-
patches = [
20
20
-
# https://github.com/pwnesia/dnstake/pull/36
21
21
-
(fetchpatch {
22
22
-
name = "update-x-sys-fix-darwin.patch";
23
23
-
url = "https://github.com/pwnesia/dnstake/commit/974efbbff4ce26d2f2646ca2ceb1316c131cefbe.patch";
24
24
-
sha256 = "sha256-fLOGF8damdLROd8T0fH/FGSVX23dtc+yHhSvVCwVeuY=";
25
25
-
})
26
26
-
];
27
27
-
28
18
vendorHash = "sha256-lV6dUl+OMUQfhlgNL38k0Re1Mr3VP9b8SI3vTJ8CP18=";
29
19
30
20
meta = with lib; {
31
21
description = "Tool to check missing hosted DNS zones";
32
22
homepage = "https://github.com/pwnesia/dnstake";
33
33
-
license = with licenses; [ mit ];
23
23
+
changelog = "https://github.com/pwnesia/dnstake/releases/tag/${src.tag}";
24
24
+
license = licenses.mit;
34
25
maintainers = with maintainers; [ fab ];
35
26
mainProgram = "dnstake";
36
27
};