2005-02-27 03:08:17 +01:00
|
|
|
{ input, stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libxml2, libglade, libgnome
|
2009-03-24 09:47:50 +01:00
|
|
|
, libgnomecanvas, gettext, intltool }:
|
2004-01-21 10:34:19 +01:00
|
|
|
|
2004-03-29 12:25:25 +02:00
|
|
|
assert pkgconfig != null && perl != null && libxml2 != null
|
|
|
|
&& libglade != null && libgnome != null && libgnomecanvas != null;
|
2004-01-21 10:34:19 +01:00
|
|
|
|
2005-03-10 13:49:37 +01:00
|
|
|
# TODO 2.8.1 doesn't work
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2005-02-27 00:45:19 +01:00
|
|
|
inherit (input) name src;
|
2009-03-24 09:47:50 +01:00
|
|
|
buildInputs = [ pkgconfig perl perlXMLParser libglade gettext intltool ];
|
2004-04-01 21:11:59 +02:00
|
|
|
propagatedBuildInputs = [libxml2 libgnome libgnomecanvas];
|
2005-02-27 00:45:19 +01:00
|
|
|
|
2005-03-10 13:49:37 +01:00
|
|
|
LDFLAGS="-lglib-2.0"; # !!! why?
|
2004-01-21 10:34:19 +01:00
|
|
|
}
|