Author: viric
Date: Mon Aug 9 21:13:36 2010
New Revision: 23070
URL: https://svn.nixos.org/websvn/nix/?rev=23070&sc=1
Log:
Adding the calendar program 'pal'
Added:
nixpkgs/trunk/pkgs/tools/misc/pal/
nixpkgs/trunk/pkgs/tools/misc/pal/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/tools/misc/pal/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/tools/misc/pal/default.nix Mon Aug 9 21:13:36
2010 (r23070)
@@ -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;
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Mon Aug 9 20:59:38
2010 (r23069)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Mon Aug 9 21:13:36
2010 (r23070)
@@ -945,6 +945,10 @@
p7zip = callPackage ../tools/archivers/p7zip { };
+ pal = callPackage ../tools/misc/pal {
+ inherit (gtkLibs) glib;
+ };
+
panomatic = callPackage ../tools/graphics/panomatic { };
par2cmdline = callPackage ../tools/networking/par2cmdline { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits