mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
et: 2017-03-04 -> 0.1
This commit is contained in:
parent
f0a0f02b22
commit
ab4f4f8baa
@ -2,23 +2,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "et-${version}";
|
||||
version = "2017-03-04";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geistesk";
|
||||
repo = "et";
|
||||
rev = "151e9b6bc0d2d4f45bda8ced740ee99d0f2012f6";
|
||||
sha256 = "1a1jdnzmal05k506bbvzlwsj2f3kql6l5xc1gdabm79y6vaf4r7s";
|
||||
rev = "${version}";
|
||||
sha256 = "1d2hq6p1y2ynk0a3l35lwbm1fcl9kg7rpjcin8bx4xcdpbw42y94";
|
||||
};
|
||||
|
||||
buildInputs = [ libnotify gdk_pixbuf ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace ' = gcc' ' ?= gcc'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp et $out/bin
|
||||
@ -26,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
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;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
|
Loading…
Reference in New Issue
Block a user