tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
jotta-cli: 0.9.39536 -> 0.11.44593
Even Brenden
4 years ago
8d062c0e
6d84e50b
+3
-3
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
jotta-cli
default.nix
+3
-3
pkgs/applications/misc/jotta-cli/default.nix
···
5
in
6
stdenv.mkDerivation rec {
7
pname = "jotta-cli";
8
-
version = "0.9.39536";
9
src = fetchzip {
10
url = "https://repo.jotta.us/archives/linux/${arch}/jotta-cli-${version}_linux_${arch}.tar.gz";
11
-
sha256 = "sha256-JZtc6Si3ZQoRG3q+ctzPPQm7WbMYRailIuq/Y5Avd2s=";
12
stripRoot = false;
13
};
14
···
20
postFixup = ''
21
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/bin/jotta-cli
22
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/bin/jottad
23
-
$out/bin/jotta-cli completion > $out/share/bash-completion/completions/jotta-cli.bash
24
'';
25
26
meta = with lib; {
···
5
in
6
stdenv.mkDerivation rec {
7
pname = "jotta-cli";
8
+
version = "0.11.44593";
9
src = fetchzip {
10
url = "https://repo.jotta.us/archives/linux/${arch}/jotta-cli-${version}_linux_${arch}.tar.gz";
11
+
sha256 = "1f06zmcpvm0f3phwc43ai6v4ykhkrd4f3br2j89nx9bfmj6ss2ic";
12
stripRoot = false;
13
};
14
···
20
postFixup = ''
21
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/bin/jotta-cli
22
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/bin/jottad
23
+
$out/bin/jotta-cli completion bash > $out/share/bash-completion/completions/jotta-cli.bash
24
'';
25
26
meta = with lib; {