nixpkgs/pkgs/tools/system/snooze/default.nix

20 lines
549 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2020-08-31 00:06:17 +02:00
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 lib; {
description = "Tool for waiting until a particular time and then running a command";
2020-08-31 00:06:17 +02:00
maintainers = with maintainers; [ kaction ];
license = licenses.cc0;
2021-03-03 13:07:03 +01:00
platforms = platforms.unix;
2020-08-31 00:06:17 +02:00
};
}