mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 10:24:07 +00:00
4f155b0f7a
svn path=/nixpkgs/trunk/; revision=853
24 lines
695 B
Nix
24 lines
695 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;
|
|
|
|
derivation {
|
|
name = "pan-0.14.2.91";
|
|
system = stdenv.system;
|
|
|
|
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";
|
|
};
|
|
|
|
gtkspell = if spellChecking then gtkspell else null;
|
|
inherit spellChecking stdenv pkgconfig gtk gnet libxml2 perl pcre;
|
|
}
|