summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2020-10-15 16:29:34 -0700
committerGitHub <noreply@github.com>2020-10-15 16:29:34 -0700
commitc4679aac6f13c39fc73a49aac0ffc8b7c1177798 (patch)
treed8a3ed9f8fe4d8a5c97b3c9221badb495f2844e5 /pkgs/tools/system
parentfd2995dfcbf0f21a79543ac6e455d45d8c1baf46 (diff)
parent35943384eaf4d74022e79f981c668c3adf4e1693 (diff)
downloadnixpkgs-c4679aac6f13c39fc73a49aac0ffc8b7c1177798.tar
nixpkgs-c4679aac6f13c39fc73a49aac0ffc8b7c1177798.tar.gz
nixpkgs-c4679aac6f13c39fc73a49aac0ffc8b7c1177798.tar.bz2
nixpkgs-c4679aac6f13c39fc73a49aac0ffc8b7c1177798.tar.lz
nixpkgs-c4679aac6f13c39fc73a49aac0ffc8b7c1177798.tar.xz
nixpkgs-c4679aac6f13c39fc73a49aac0ffc8b7c1177798.tar.zst
nixpkgs-c4679aac6f13c39fc73a49aac0ffc8b7c1177798.zip
Merge pull request #96698 from KAction/snooze
snooze: init at 0.4
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/snooze/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/tools/system/snooze/default.nix b/pkgs/tools/system/snooze/default.nix
new file mode 100644
index 00000000000..a82db1dbd42
--- /dev/null
+++ b/pkgs/tools/system/snooze/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchFromGitHub }:
+stdenv.mkDerivation rec {
+  pname = "snooze";
+  version = "0.4";
+  src = fetchFromGitHub {
+    owner = "leahneukirchen";
+    repo = "snooze";
+    rev = "v${version}";
+    sha256 = "0a114brvvjf6vl7grviv0gd6gmikr447m8kq1wilp4yj51sfyxa9";
+  };
+  makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ];
+
+  meta = with stdenv.lib; {
+    description =
+      "Tool for waiting until a particular time and then running a command.";
+    maintainers = with maintainers; [ kaction ];
+    license = licenses.cc0;
+    platforms = platforms.linux;
+  };
+}