2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-10-16 20:44:37 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "snooze";
|
2021-03-15 08:37:03 +00:00
|
|
|
version = "0.5";
|
2020-10-16 20:44:37 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leahneukirchen";
|
|
|
|
repo = "snooze";
|
|
|
|
rev = "v${version}";
|
2021-03-15 08:37:03 +00:00
|
|
|
sha256 = "sha256-K77axli/mapUr3yxpmUfFq4iWwgRmEVUlP6+/0Iezwo=";
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-27 00:29:36 +00:00
|
|
|
description = "Tool for waiting until a particular time and then running a command";
|
2020-10-16 20:44:37 +00:00
|
|
|
maintainers = with maintainers; [ kaction ];
|
|
|
|
license = licenses.cc0;
|
2021-03-09 03:18:52 +00:00
|
|
|
platforms = platforms.unix;
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
}
|