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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
716 B
Nix
Raw Normal View History

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