about summary refs log tree commit diff
path: root/pkgs/task-spooler
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/task-spooler')
-rw-r--r--pkgs/task-spooler/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/task-spooler/default.nix b/pkgs/task-spooler/default.nix
new file mode 100644
index 0000000..69aebd3
--- /dev/null
+++ b/pkgs/task-spooler/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl }:
+with stdenv.lib;
+
+let
+  pname = "task-spooler";
+  version = "1.0";
+in
+  stdenv.mkDerivation {
+    inherit pname version;
+
+    src = fetchurl {
+      url = "http://vicerveza.homeunix.net/~viric/soft/ts/ts-${version}.tar.gz";
+      sha256 = "15dkzczx10fhl0zs9bmcgkxfbwq2znc7bpscljm4rchbzx7y6lsg";
+    };
+
+    installPhase = ''
+      mkdir -p $out/bin $out/share/man/man1 $out/share/doc/task-spooler
+      cp ts $out/bin/tsp
+      cp ts.1 $out/share/man/man1/tsp.1
+      cp TRICKS $out/share/doc/task-spooler/TRICKS
+    '';
+
+    meta = {
+      description = "Queue up tasks from the shell for batch execution";
+      license = licenses.gpl3;
+    };
+  }