et: 2017-03-04 -> 0.1

This commit is contained in:
geistesk 2017-10-21 15:14:50 +02:00 committed by Tuomas Tynkkynen
parent f0a0f02b22
commit ab4f4f8baa

View File

@ -2,23 +2,18 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "et-${version}"; name = "et-${version}";
version = "2017-03-04"; version = "0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "geistesk"; owner = "geistesk";
repo = "et"; repo = "et";
rev = "151e9b6bc0d2d4f45bda8ced740ee99d0f2012f6"; rev = "${version}";
sha256 = "1a1jdnzmal05k506bbvzlwsj2f3kql6l5xc1gdabm79y6vaf4r7s"; sha256 = "1d2hq6p1y2ynk0a3l35lwbm1fcl9kg7rpjcin8bx4xcdpbw42y94";
}; };
buildInputs = [ libnotify gdk_pixbuf ]; buildInputs = [ libnotify gdk_pixbuf ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
prePatch = ''
substituteInPlace Makefile \
--replace ' = gcc' ' ?= gcc'
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp et $out/bin cp et $out/bin
@ -26,7 +21,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Minimal libnotify-based (egg) timer for GNU/Linux"; description = "Minimal libnotify-based (egg) timer";
homepage = https://github.com/geistesk/et; homepage = https://github.com/geistesk/et;
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.unix; platforms = platforms.unix;