From 35943384eaf4d74022e79f981c668c3adf4e1693 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sun, 30 Aug 2020 18:06:17 -0400 Subject: [PATCH] snooze: init at 0.4 --- pkgs/tools/system/snooze/default.nix | 20 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/tools/system/snooze/default.nix diff --git a/pkgs/tools/system/snooze/default.nix b/pkgs/tools/system/snooze/default.nix new file mode 100644 index 000000000000..a82db1dbd423 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 694516f80a23..1639f3f736ed 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2899,6 +2899,8 @@ in cron = callPackage ../tools/system/cron { }; + snooze = callPackage ../tools/system/snooze { }; + cudaPackages = recurseIntoAttrs (callPackage ../development/compilers/cudatoolkit {}); inherit (cudaPackages) cudatoolkit_6