aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/system/snooze/default.nix
blob: a82db1dbd42308789e294f2b0cc6c8ef57a837ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
  };
}