nixpkgs/pkgs/applications/misc/et/default.nix

31 lines
726 B
Nix
Raw Normal View History

2019-05-22 11:03:39 +00:00
{ stdenv, fetchFromGitHub, pkgconfig, libnotify, gdk-pixbuf }:
2017-08-26 12:36:31 +00:00
stdenv.mkDerivation rec {
pname = "et";
2018-04-19 09:13:52 +00:00
version = "0.1.1";
2017-08-26 12:36:31 +00:00
src = fetchFromGitHub {
owner = "geistesk";
repo = "et";
2019-09-08 23:38:31 +00:00
rev = version;
2018-04-19 09:13:52 +00:00
sha256 = "167w9qwfpd63rgy0xmkkkh5krmd91q42c3ijy3j099krgdfbb9bc";
2017-08-26 12:36:31 +00:00
};
2019-05-22 11:03:39 +00:00
buildInputs = [ libnotify gdk-pixbuf ];
2017-08-26 12:36:31 +00:00
nativeBuildInputs = [ pkgconfig ];
installPhase = ''
mkdir -p $out/bin
cp et $out/bin
cp et-status.sh $out/bin/et-status
'';
meta = with stdenv.lib; {
2017-10-21 13:14:50 +00:00
description = "Minimal libnotify-based (egg) timer";
2017-08-26 12:36:31 +00:00
homepage = https://github.com/geistesk/et;
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ geistesk ];
};
}