tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
shh: move to finalAttrs pattern
06kellyjac
4 months ago
27d705e4
e23f8b77
+7
-7
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
sh
shh
package.nix
+7
-7
pkgs/by-name/sh/shh/package.nix
···
16
isNativeDocgen =
17
(stdenv.buildPlatform.canExecute stdenv.hostPlatform) && enableDocumentationFeature;
18
in
19
-
rustPlatform.buildRustPackage rec {
20
pname = "shh";
21
version = "2025.9.22";
22
23
src = fetchFromGitHub {
24
owner = "desbma";
25
repo = "shh";
26
-
tag = "v${version}";
27
hash = "sha256-Esb6IR49YtGWvLmGLtviAyMLjoWZLQka2igC6yKJ3A0=";
28
};
29
···
85
86
installManPage target/mangen/*
87
88
-
installShellCompletion --cmd ${pname} \
89
-
target/shellcomplete/${pname}.{bash,fish} \
90
-
--zsh target/shellcomplete/_${pname}
91
'';
92
93
# RUST_BACKTRACE = 1;
···
99
homepage = "https://github.com/desbma/shh";
100
license = lib.licenses.gpl3Only;
101
platforms = lib.platforms.linux;
102
-
changelog = "https://github.com/desbma/shh/blob/v${version}/CHANGELOG.md";
103
mainProgram = "shh";
104
maintainers = with lib.maintainers; [
105
erdnaxe
106
kuflierl
107
];
108
};
109
-
}
···
16
isNativeDocgen =
17
(stdenv.buildPlatform.canExecute stdenv.hostPlatform) && enableDocumentationFeature;
18
in
19
+
rustPlatform.buildRustPackage (finalAttrs: {
20
pname = "shh";
21
version = "2025.9.22";
22
23
src = fetchFromGitHub {
24
owner = "desbma";
25
repo = "shh";
26
+
tag = "v${finalAttrs.version}";
27
hash = "sha256-Esb6IR49YtGWvLmGLtviAyMLjoWZLQka2igC6yKJ3A0=";
28
};
29
···
85
86
installManPage target/mangen/*
87
88
+
installShellCompletion --cmd ${finalAttrs.pname} \
89
+
target/shellcomplete/${finalAttrs.pname}.{bash,fish} \
90
+
--zsh target/shellcomplete/_${finalAttrs.pname}
91
'';
92
93
# RUST_BACKTRACE = 1;
···
99
homepage = "https://github.com/desbma/shh";
100
license = lib.licenses.gpl3Only;
101
platforms = lib.platforms.linux;
102
+
changelog = "https://github.com/desbma/shh/blob/v${finalAttrs.version}/CHANGELOG.md";
103
mainProgram = "shh";
104
maintainers = with lib.maintainers; [
105
erdnaxe
106
kuflierl
107
];
108
};
109
+
})