1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 07:04:28 +00:00
nixpkgs/pkgs/applications/misc/et/default.nix
2021-01-16 23:49:59 -08:00

31 lines
716 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, libnotify, gdk-pixbuf }:
stdenv.mkDerivation rec {
pname = "et";
version = "0.1.2";
src = fetchFromGitHub {
owner = "oxzi";
repo = "et";
rev = version;
sha256 = "0i0lgmnly8n7y4y6pb10pxgxyz8s5zk26k8z1g1578v1wan01lnq";
};
buildInputs = [ libnotify gdk-pixbuf ];
nativeBuildInputs = [ pkg-config ];
installPhase = ''
mkdir -p $out/bin
cp et $out/bin
cp et-status.sh $out/bin/et-status
'';
meta = with lib; {
description = "Minimal libnotify-based (egg) timer";
homepage = "https://github.com/oxzi/et";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ oxzi ];
};
}