nixpkgs/pkgs/applications/networking/newsreaders/pan/default.nix
Eelco Dolstra 12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00

27 lines
698 B
Nix

{ spellChecking ? true
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null, gnet
, libxml2, perl, pcre
}:
assert pkgconfig != null && gtk != null && gnet != null
&& libxml2 != null && perl != null && pcre != null;
assert spellChecking -> gtkspell != null && gtk == gtkspell.gtk;
assert gtk.glib == gnet.glib;
stdenv.mkDerivation {
name = "pan-0.14.2.91";
builder = ./builder.sh;
src = fetchurl {
url = http://pan.rebelbase.com/download/releases/0.14.2.91/SOURCE/pan-0.14.2.91.tar.bz2;
md5 = "4770d899a1c1ba968ce96bc5aeb07b62";
};
buildInputs = [
pkgconfig gtk gnet libxml2 perl pcre
(if spellChecking then gtkspell else null)
];
inherit spellChecking stdenv;
}