nixpkgs/pkgs/tools/misc/snore/default.nix
Christina Sørensen 9255c4d2d0
treewide: adopt orphaned packages
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-28 20:43:06 +02:00

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