tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
detach: init at 0.2.3
Peder Bergebakken Sundt
10 months ago
cb742cea
c850de6d
+38
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
de
detach
package.nix
+38
pkgs/by-name/de/detach/package.nix
reviewed
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchzip,
5
5
+
installShellFiles,
6
6
+
}:
7
7
+
8
8
+
stdenv.mkDerivation rec {
9
9
+
pname = "detach";
10
10
+
version = "0.2.3";
11
11
+
12
12
+
src = fetchzip {
13
13
+
url = "http://inglorion.net/download/detach-${version}.tar.bz2";
14
14
+
hash = "sha256-nnhJGtmPlTeqM20FAKRyhhSMViTXFpQT0A1ol4lhsoc=";
15
15
+
};
16
16
+
17
17
+
nativeBuildInputs = [ installShellFiles ];
18
18
+
19
19
+
dontConfigure = true;
20
20
+
21
21
+
makeFlags = [ "PREFIX=$(out)" ];
22
22
+
23
23
+
postInstall = ''
24
24
+
installShellCompletion --cmd detach \
25
25
+
--zsh contrib/zsh-completer/_detach
26
26
+
'';
27
27
+
28
28
+
doCheck = false;
29
29
+
30
30
+
meta = {
31
31
+
description = "Utility for running a command detached from the current terminal";
32
32
+
homepage = "https://inglorion.net/software/detach/";
33
33
+
license = lib.licenses.mit;
34
34
+
mainProgram = "detach";
35
35
+
maintainers = with lib.maintainers; [ pbsds ];
36
36
+
platforms = lib.platforms.unix;
37
37
+
};
38
38
+
}