summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-08-23 12:40:44 +0400
committerMichael Raskin <7c6f434c@mail.ru>2014-08-23 12:40:44 +0400
commitbd9e07c24c39c68e1cc8aa9ccd05800686f8a99a (patch)
tree8f9f8c18081228cd699c23f5c23bf7d45d3b0cfe /pkgs/tools/misc
parenteaac469f11a8dd4bcdda6facd8531b41d943455f (diff)
parentdcb226deb787df743e04677f3dcbf6fec4c51dfb (diff)
downloadnixlib-bd9e07c24c39c68e1cc8aa9ccd05800686f8a99a.tar
nixlib-bd9e07c24c39c68e1cc8aa9ccd05800686f8a99a.tar.gz
nixlib-bd9e07c24c39c68e1cc8aa9ccd05800686f8a99a.tar.bz2
nixlib-bd9e07c24c39c68e1cc8aa9ccd05800686f8a99a.tar.lz
nixlib-bd9e07c24c39c68e1cc8aa9ccd05800686f8a99a.tar.xz
nixlib-bd9e07c24c39c68e1cc8aa9ccd05800686f8a99a.tar.zst
nixlib-bd9e07c24c39c68e1cc8aa9ccd05800686f8a99a.zip
Merge pull request #3352 from luke-clifton/master
Added abduco
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/abduco/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/abduco/default.nix b/pkgs/tools/misc/abduco/default.nix
new file mode 100644
index 000000000000..a3f5c4a1d61e
--- /dev/null
+++ b/pkgs/tools/misc/abduco/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl, writeText, conf? null}:
+
+with stdenv.lib;
+
+stdenv.mkDerivation rec {
+    name = "abduco-0.1";
+
+    meta = {
+        homepage = http://brain-dump.org/projects/abduco;
+        license = licenses.isc;
+        description = "Allows programs to be run independently from its controlling terminal";
+        platforms = with platforms; linux;
+    };
+
+    src = fetchurl {
+        url = "http://www.brain-dump.org/projects/abduco/${name}.tar.gz";
+        sha256 = "b4ef297cb7cc81170dc7edf75385cb1c55e024a52f90c1dd0bc0e9862e6f39b5";
+    };
+
+    configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
+    preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
+
+    buildInputs = [];
+
+    installPhase = ''
+      make PREFIX=$out install
+    '';
+}