nixpkgs/pkgs/misc/ghostscript/default.nix

24 lines
588 B
Nix
Raw Normal View History

{stdenv, fetchurl, libjpeg, libpng, zlib}:
stdenv.mkDerivation {
name = "ghostscript-8.15";
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-8.15.tar.bz2;
md5 = "ab8502f30629b730e0c9ca56b88a6b9d";
};
fonts = [
(fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-fonts-std-8.11.tar.gz;
md5 = "6865682b095f8c4500c54b285ff05ef6";
})
# ... add other fonts here
];
buildInputs = [libjpeg libpng zlib];
configureFlags = "--without-x";
}