about summary refs log tree commit diff
path: root/pkgs/tools/system/snooze/default.nix
blob: 1a719a494f84c8365f75f08599cc4cbdb25bd958 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
  pname = "snooze";
  version = "0.5";
  src = fetchFromGitHub {
    owner = "leahneukirchen";
    repo = "snooze";
    rev = "v${version}";
    sha256 = "sha256-K77axli/mapUr3yxpmUfFq4iWwgRmEVUlP6+/0Iezwo=";
  };
  makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ];

  meta = with lib; {
    description = "Tool for waiting until a particular time and then running a command";
    maintainers = with maintainers; [ kaction ];
    license = licenses.cc0;
    platforms = platforms.unix;
    mainProgram = "snooze";
  };
}