ijs: derive from ghostscript

This commit is contained in:
Nikolay Amiantov 2016-04-30 03:00:09 +03:00
parent 6fef00260a
commit a589b7bd5f
2 changed files with 5 additions and 8 deletions

View File

@ -1,14 +1,9 @@
{ stdenv, fetchurl, fetchpatch, autoreconfHook }:
{ stdenv, fetchurl, fetchpatch, autoreconfHook, ghostscript }:
let version = "9.18";
in
stdenv.mkDerivation {
name = "ijs-${version}";
name = "ijs-${ghostscript.version}";
src = fetchurl {
url = "http://downloads.ghostscript.com/public/ghostscript-${version}.tar.bz2";
sha256 = "18ad90za28dxybajqwf3y3dld87cgkx1ljllmcnc7ysspfxzbnl3";
};
inherit (ghostscript) src;
patches = [
# http://bugs.ghostscript.com/show_bug.cgi?id=696246

View File

@ -126,6 +126,8 @@ stdenv.mkDerivation rec {
install_name_tool -change libgs.dylib.${version} $out/lib/libgs.dylib.${version} $out/bin/gs
'';
passthru = { inherit version; };
meta = {
homepage = "http://www.ghostscript.com/";
description = "PostScript interpreter (mainline version)";