tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dogdns: install man pages
Maximilian Bosch
4 years ago
4e9a5ef3
de5a2235
+10
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
dogdns
default.nix
+10
-1
pkgs/tools/networking/dogdns/default.nix
···
5
, stdenv
6
, pkg-config
7
, openssl
0
0
8
, Security
9
}:
10
···
19
sha256 = "sha256-y3T0vXg7631FZ4bzcbQjz3Buui/DFxh9LG8BZWwynp0=";
20
};
21
22
-
nativeBuildInputs = [ installShellFiles ]
23
++ lib.optionals stdenv.isLinux [ pkg-config ];
24
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
25
++ lib.optionals stdenv.isDarwin [ Security ];
26
0
0
0
0
0
0
27
cargoSha256 = "sha256-agepQVJbqbjzFbEBKbM7BNxc8FlklOrCsTgCAOcuptc=";
28
29
postInstall = ''
30
installShellCompletion completions/dog.{bash,fish,zsh}
0
31
'';
32
33
meta = with lib; {
···
5
, stdenv
6
, pkg-config
7
, openssl
8
+
, just
9
+
, pandoc
10
, Security
11
}:
12
···
21
sha256 = "sha256-y3T0vXg7631FZ4bzcbQjz3Buui/DFxh9LG8BZWwynp0=";
22
};
23
24
+
nativeBuildInputs = [ installShellFiles just pandoc ]
25
++ lib.optionals stdenv.isLinux [ pkg-config ];
26
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
27
++ lib.optionals stdenv.isDarwin [ Security ];
28
29
+
outputs = [ "out" "man" ];
30
+
31
+
postBuild = ''
32
+
just man
33
+
'';
34
+
35
cargoSha256 = "sha256-agepQVJbqbjzFbEBKbM7BNxc8FlklOrCsTgCAOcuptc=";
36
37
postInstall = ''
38
installShellCompletion completions/dog.{bash,fish,zsh}
39
+
installManPage ./target/man/*.1
40
'';
41
42
meta = with lib; {