mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
ijs: derive from ghostscript
This commit is contained in:
parent
6fef00260a
commit
a589b7bd5f
@ -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
|
||||
|
@ -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)";
|
||||
|
Loading…
Reference in New Issue
Block a user