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