2005-02-27 00:45:19 +01:00
|
|
|
{input, stdenv, fetchurl, pkgconfig, perl, perlXMLParser, ORBit2, libxml2, popt, yacc, flex}:
|
2004-01-21 10:34:19 +01:00
|
|
|
|
2004-03-29 12:25:25 +02:00
|
|
|
assert pkgconfig != null && perl != null && ORBit2 != null
|
|
|
|
&& libxml2 != null && popt != null && yacc != null && flex != null;
|
2004-01-21 10:34:19 +01:00
|
|
|
|
2005-02-27 00:45:19 +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;
|
2004-04-01 21:11:59 +02:00
|
|
|
buildInputs = [pkgconfig perl libxml2 yacc flex];
|
|
|
|
propagatedBuildInputs = [ORBit2 popt];
|
2005-02-27 00:45:19 +01:00
|
|
|
PERL5LIB = perlXMLParser ~ "/lib/site_perl";
|
2004-01-21 10:34:19 +01:00
|
|
|
}
|