2018-07-21 03:44:44 +03:00
|
|
|
{stdenv, fetchurl, glib, gettext, readline, pkgconfig }:
|
2010-08-10 01:13:36 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-20 16:36:31 +03:00
|
|
|
name = "pal-0.4.3";
|
2010-08-10 01:13:36 +04:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/palcal/${name}.tgz";
|
2015-09-20 16:36:31 +03:00
|
|
|
sha256 = "072mahxvd7lcvrayl32y589w4v3vh7bmlcnhiksjylknpsvhqiyf";
|
2010-08-10 01:13:36 +04: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
|
|
|
|
'';
|
|
|
|
|
2019-10-27 16:03:25 +03:00
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
2010-08-10 01:13:36 +04:00
|
|
|
|
2017-09-06 00:26:13 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib gettext readline ];
|
2010-08-10 01:13:36 +04:00
|
|
|
|
2016-02-26 20:38:15 +03:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-12 16:53:04 +03:00
|
|
|
|
2010-08-10 01:13:36 +04:00
|
|
|
meta = {
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://palcal.sourceforge.net/";
|
2010-08-10 01:13:36 +04:00
|
|
|
description = "Command-line calendar program that can keep track of events";
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-08-10 01:13:36 +04:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|