depot/third_party/nixpkgs/pkgs/tools/system/snooze/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

20 lines
576 B
Nix

{ 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";
};
}