depot/third_party/nixpkgs/pkgs/tools/misc/snore/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

24 lines
566 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "0.3.1";
pname = "snore";
src = fetchFromGitHub {
owner = "clamiax";
repo = pname;
rev = version;
hash = "sha256-bKPGSePzp4XEZFY0QQr37fm3R1v3hLD6FeySFd7zNJc=";
};
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
description = "sleep with feedback";
homepage = "https://github.com/clamiax/snore";
license = licenses.mit;
maintainers = with maintainers; [ cafkafk ];
platforms = platforms.unix;
mainProgram = "snore";
};
}