607b0d3e80
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done svn path=/nixpkgs/trunk/; revision=9198
28 lines
514 B
Nix
28 lines
514 B
Nix
{ stdenv, fetchurl, pkgconfig, libxml2, libxslt, popt
|
|
, glib, pango, libgnomeprint, pangoxsl, gtk}:
|
|
|
|
stdenv.mkDerivation {
|
|
#name = "xmlroff-0.3.5";
|
|
name = "xmlroff-0.3.98";
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/xmlroff/xmlroff-0.3.98.tar.gz;
|
|
md5 = "6c1d05b6480e98870751bf9102ea68e2";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkgconfig
|
|
libxml2
|
|
libxslt
|
|
glib
|
|
pango
|
|
libgnomeprint
|
|
pangoxsl
|
|
gtk
|
|
popt
|
|
];
|
|
|
|
configureFlags = "--disable-pangoxsl";
|
|
|
|
patches = [./xmlroff.patch];
|
|
}
|