base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / dt / dtach / package.nix
blob9daabbf81b5aa2b4d5e047ec22d8fa578e6dc23f
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "dtach";
5   version = "0.9";
7   src = fetchurl {
8     url = "mirror://sourceforge/project/dtach/dtach/${version}/dtach-${version}.tar.gz";
9     sha256 = "1wwj2hlngi8qn2pisvhyfxxs8gyqjlgrrv5lz91w8ly54dlzvs9j";
10   };
12   installPhase = ''
13     mkdir -p $out/bin
14     cp dtach $out/bin/dtach
15   '';
17   meta = {
18     homepage = "https://dtach.sourceforge.net/";
19     description = "Program that emulates the detach feature of screen";
21     longDescription = ''
22       dtach is a tiny program that emulates the detach feature of
23       screen, allowing you to run a program in an environment that is
24       protected from the controlling terminal and attach to it later.
25       dtach does not keep track of the contents of the screen, and
26       thus works best with programs that know how to redraw
27       themselves.
28     '';
30     license = lib.licenses.gpl2Plus;
32     platforms = lib.platforms.unix;
33     maintainers = [ ];
34     mainProgram = "dtach";
35   };