File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ fetchzip ,
5+ installShellFiles ,
6+ } :
7+
8+ stdenv . mkDerivation rec {
9+ pname = "detach" ;
10+ version = "0.2.3" ;
11+
12+ src = fetchzip {
13+ url = "http://inglorion.net/download/detach-${ version } .tar.bz2" ;
14+ hash = "sha256-nnhJGtmPlTeqM20FAKRyhhSMViTXFpQT0A1ol4lhsoc=" ;
15+ } ;
16+
17+ nativeBuildInputs = [ installShellFiles ] ;
18+
19+ dontConfigure = true ;
20+
21+ makeFlags = [ "PREFIX=$(out)" ] ;
22+
23+ postInstall = ''
24+ installShellCompletion --cmd detach \
25+ --zsh contrib/zsh-completer/_detach
26+ '' ;
27+
28+ doCheck = false ;
29+
30+ meta = {
31+ description = "Utility for running a command detached from the current terminal" ;
32+ homepage = "https://inglorion.net/software/detach/" ;
33+ license = lib . licenses . mit ;
34+ mainProgram = "detach" ;
35+ maintainers = with lib . maintainers ; [ pbsds ] ;
36+ platforms = lib . platforms . unix ;
37+ } ;
38+ }
You can’t perform that action at this time.
0 commit comments