2010-08-09 22:13:36 +01:00
|
|
|
{stdenv, fetchurl, ncurses, glib, gettext, readline, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-20 14:36:31 +01:00
|
|
|
name = "pal-0.4.3";
|
2010-08-09 22:13:36 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/palcal/${name}.tgz";
|
2015-09-20 14:36:31 +01:00
|
|
|
sha256 = "072mahxvd7lcvrayl32y589w4v3vh7bmlcnhiksjylknpsvhqiyf";
|
2010-08-09 22:13:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's/-o root//' -e 's,ESTDIR}/etc,ESTDIR}'$out/etc, src/Makefile
|
|
|
|
sed -i -e 's,/etc/pal\.conf,'$out/etc/pal.conf, src/input.c
|
|
|
|
'';
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
export makeFlags="prefix=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ glib gettext readline pkgconfig ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://palcal.sourceforge.net/;
|
|
|
|
description = "Command-line calendar program that can keep track of events";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-08-09 22:13:36 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|