2019-05-22 13:03:39 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, libnotify, gdk-pixbuf }:
|
2017-08-26 14:36:31 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "et";
|
2019-11-22 12:55:06 +01:00
|
|
|
version = "0.1.2";
|
2017-08-26 14:36:31 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "geistesk";
|
|
|
|
repo = "et";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2019-11-22 12:55:06 +01:00
|
|
|
sha256 = "0i0lgmnly8n7y4y6pb10pxgxyz8s5zk26k8z1g1578v1wan01lnq";
|
2017-08-26 14:36:31 +02:00
|
|
|
};
|
|
|
|
|
2019-05-22 13:03:39 +02:00
|
|
|
buildInputs = [ libnotify gdk-pixbuf ];
|
2017-08-26 14:36:31 +02: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 15:14:50 +02:00
|
|
|
description = "Minimal libnotify-based (egg) timer";
|
2019-11-22 12:55:06 +01:00
|
|
|
homepage = "https://github.com/geistesk/et";
|
2017-08-26 14:36:31 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ geistesk ];
|
|
|
|
};
|
|
|
|
}
|