2021-01-16 18:09:27 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, libnotify, gdk-pixbuf }:
|
2017-08-26 05:36:31 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "et";
|
2019-11-22 03:55:06 -08:00
|
|
|
version = "0.1.2";
|
2017-08-26 05:36:31 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-15 07:04:43 -07:00
|
|
|
owner = "oxzi";
|
2017-08-26 05:36:31 -07:00
|
|
|
repo = "et";
|
2019-09-08 16:38:31 -07:00
|
|
|
rev = version;
|
2019-11-22 03:55:06 -08:00
|
|
|
sha256 = "0i0lgmnly8n7y4y6pb10pxgxyz8s5zk26k8z1g1578v1wan01lnq";
|
2017-08-26 05:36:31 -07:00
|
|
|
};
|
|
|
|
|
2019-05-22 04:03:39 -07:00
|
|
|
buildInputs = [ libnotify gdk-pixbuf ];
|
2021-01-16 18:09:27 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-08-26 05:36:31 -07:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp et $out/bin
|
|
|
|
cp et-status.sh $out/bin/et-status
|
|
|
|
'';
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2017-10-21 06:14:50 -07:00
|
|
|
description = "Minimal libnotify-based (egg) timer";
|
2020-08-15 07:04:43 -07:00
|
|
|
homepage = "https://github.com/oxzi/et";
|
2017-08-26 05:36:31 -07:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
2020-08-15 06:25:59 -07:00
|
|
|
maintainers = with maintainers; [ oxzi ];
|
2017-08-26 05:36:31 -07:00
|
|
|
};
|
|
|
|
}
|