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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
576 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2020-08-30 22:06:17 +00:00
stdenv.mkDerivation rec {
pname = "snooze";
2021-03-09 17:35:13 +00:00
version = "0.5";
2020-08-30 22:06:17 +00:00
src = fetchFromGitHub {
owner = "leahneukirchen";
repo = "snooze";
rev = "v${version}";
2021-03-09 17:35:13 +00:00
sha256 = "sha256-K77axli/mapUr3yxpmUfFq4iWwgRmEVUlP6+/0Iezwo=";
2020-08-30 22:06:17 +00:00
};
makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ];
meta = with lib; {
description = "Tool for waiting until a particular time and then running a command";
2020-08-30 22:06:17 +00:00
maintainers = with maintainers; [ kaction ];
license = licenses.cc0;
2021-03-03 12:07:03 +00:00
platforms = platforms.unix;
2023-11-27 01:17:53 +00:00
mainProgram = "snooze";
2020-08-30 22:06:17 +00:00
};
}