From b0086e0c0e8ea2a2eb24810e0fda00b956325469 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 7 Oct 2020 17:34:12 +0200 Subject: Add simple-mtpfs and task-spooler --- pkgs/task-spooler/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/task-spooler/default.nix (limited to 'pkgs/task-spooler') 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; + }; + } -- cgit 1.4.1