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
20 lines
578 B
Nix
20 lines
578 B
Nix
{ stdenv, fetchurl, gettext, freetype, zlib
|
|
, libungif, libpng, libjpeg, libtiff, libxml2
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "fontforge-20070808";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/fontforge/fontforge_full-20070808.tar.bz2;
|
|
sha256 = "1b3x5djn9ifvszwmgwmn1jwl50pbq6fzvbmgx0qjg0m60m3v44nx";
|
|
};
|
|
|
|
preConfigure = "
|
|
unpackFile ${freetype.src}
|
|
freetypeSrcPath=$(echo `pwd`/freetype-*)
|
|
configureFlags=\"$configureFlags --with-freetype-src=$freetypeSrcPath\"
|
|
";
|
|
|
|
buildInputs = [gettext freetype zlib libungif libpng libjpeg libtiff libxml2];
|
|
}
|