2017-08-26 13:36:31 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, libnotify, gdk_pixbuf }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "et-${version}";
|
2017-10-21 14:14:50 +01:00
|
|
|
version = "0.1";
|
2017-08-26 13:36:31 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "geistesk";
|
|
|
|
repo = "et";
|
2017-10-21 14:14:50 +01:00
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1d2hq6p1y2ynk0a3l35lwbm1fcl9kg7rpjcin8bx4xcdpbw42y94";
|
2017-08-26 13:36:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libnotify gdk_pixbuf ];
|
|
|
|
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 14:14:50 +01:00
|
|
|
description = "Minimal libnotify-based (egg) timer";
|
2017-08-26 13:36:31 +01:00
|
|
|
homepage = https://github.com/geistesk/et;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ geistesk ];
|
|
|
|
};
|
|
|
|
}
|