diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-09 21:13:36 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-09 21:13:36 +0000 |
commit | ac387916b82741ed2e056a41c8bcf2d4b4f73e12 (patch) | |
tree | fc081ea39d60fe1715ec4f2930f5dbd38863697d /pkgs/tools/misc/pal | |
parent | 1b59ae0b838666fe1f59ba1f291f5147f3ee64b6 (diff) |
Adding the calendar program 'pal'
svn path=/nixpkgs/trunk/; revision=23070
Diffstat (limited to 'pkgs/tools/misc/pal')
-rw-r--r-- | pkgs/tools/misc/pal/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/pal/default.nix b/pkgs/tools/misc/pal/default.nix new file mode 100644 index 0000000000000..fbc6d60765002 --- /dev/null +++ b/pkgs/tools/misc/pal/default.nix @@ -0,0 +1,28 @@ +{stdenv, fetchurl, ncurses, glib, gettext, readline, pkgconfig }: + +stdenv.mkDerivation rec { + name = "pal-0.4.2"; + src = fetchurl { + url = "mirror://sourceforge/palcal/${name}.tgz"; + sha256 = "1601nsspxscm7bp9g9bkia0ij0mx2lpskl2fqhs5r0smp92121nx"; + }; + + 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"; + license = "BSD"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} |