about summary refs log tree commit diff
path: root/pkgs/task-spooler
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-10-07 17:34:12 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-10-07 17:34:12 +0200
commitb0086e0c0e8ea2a2eb24810e0fda00b956325469 (patch)
tree870417eb0e83deaa798abb1edb1a9961b260da9b /pkgs/task-spooler
parentba13c42ba85ac3973bbe77a8aa119a11083cb26c (diff)
downloadpnpkgs-b0086e0c0e8ea2a2eb24810e0fda00b956325469.tar.gz
pnpkgs-b0086e0c0e8ea2a2eb24810e0fda00b956325469.zip
Add simple-mtpfs and task-spooler
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;
+    };
+  }