Author: chaoflow
Date: Sun Nov 20 21:48:56 2011
New Revision: 30497
URL: https://nixos.org/websvn/nix/?rev=30497&sc=1

Log:
add dtach-0.8

Added:
   nixpkgs/trunk/pkgs/tools/misc/dtach/
   nixpkgs/trunk/pkgs/tools/misc/dtach/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/tools/misc/dtach/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/tools/misc/dtach/default.nix     Sun Nov 20 21:48:56 
2011        (r30497)
@@ -0,0 +1,32 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+  name = "dtach-0.8";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/project/dtach/dtach/0.8/dtach-0.8.tar.gz";
+    sha256 = 
"16614ebddf8ab2811d3dc0e7f329c7de88929ac6a9632d4cb4aef7fe11b8f2a9";
+  };
+
+  installPhase = ''
+    ensureDir $out/bin
+    cp dtach $out/bin/dtach
+  '';
+
+  meta = {
+    homepage = http://dtach.sourceforge.net/;
+    description = "A program that emulates the detach feature of screen";
+
+    longDescription = ''dtach is a tiny program that emulates the
+      detach feature of screen, allowing you to run a program in an
+      environment that is protected from the controlling terminal and
+      attach to it later. dtach does not keep track of the contents of
+      the screen, and thus works best with programs that know how to
+      redraw themselves.'';
+
+    license = stdenv.lib.licenses.gpl2Plus;
+
+    platforms = stdenv.lib.platforms.unix;
+    maintainers = [ stdenv.lib.maintainers.chaoflow ];
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Sun Nov 20 20:53:15 
2011        (r30496)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Sun Nov 20 21:48:56 
2011        (r30497)
@@ -603,6 +603,8 @@
     zlib = zlibStatic;
   };
 
+  dtach = callPackage ../tools/misc/dtach { };
+
   duplicity = callPackage ../tools/backup/duplicity {
     inherit (pythonPackages) boto;
     gnupg = gnupg1;
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to