mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
detach: init at 0.2.3 (#414568)
This commit is contained in:
commit
a6540adec3
1 changed files with 38 additions and 0 deletions
38
pkgs/by-name/de/detach/package.nix
Normal file
38
pkgs/by-name/de/detach/package.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
installShellFiles,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "detach";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchzip {
|
||||
url = "http://inglorion.net/download/detach-${version}.tar.bz2";
|
||||
hash = "sha256-nnhJGtmPlTeqM20FAKRyhhSMViTXFpQT0A1ol4lhsoc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd detach \
|
||||
--zsh contrib/zsh-completer/_detach
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Utility for running a command detached from the current terminal";
|
||||
homepage = "https://inglorion.net/software/detach/";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "detach";
|
||||
maintainers = with lib.maintainers; [ pbsds ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue