summary refs log tree commit diff
path: root/pkgs/development/libraries/ijs
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-30 03:00:09 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-30 03:12:32 +0300
commita589b7bd5fc7f056e5595456b354a51668adbc07 (patch)
tree4e34b61281d3a323a92cfec520a6811440281498 /pkgs/development/libraries/ijs
parent6fef00260aa38b9faaf37d8fb3270fe952a60cf4 (diff)
downloadnixpkgs-a589b7bd5fc7f056e5595456b354a51668adbc07.tar
nixpkgs-a589b7bd5fc7f056e5595456b354a51668adbc07.tar.gz
nixpkgs-a589b7bd5fc7f056e5595456b354a51668adbc07.tar.bz2
nixpkgs-a589b7bd5fc7f056e5595456b354a51668adbc07.tar.lz
nixpkgs-a589b7bd5fc7f056e5595456b354a51668adbc07.tar.xz
nixpkgs-a589b7bd5fc7f056e5595456b354a51668adbc07.tar.zst
nixpkgs-a589b7bd5fc7f056e5595456b354a51668adbc07.zip
ijs: derive from ghostscript
Diffstat (limited to 'pkgs/development/libraries/ijs')
-rw-r--r--pkgs/development/libraries/ijs/default.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/pkgs/development/libraries/ijs/default.nix b/pkgs/development/libraries/ijs/default.nix
index da0ae463e85..a08a653dc71 100644
--- a/pkgs/development/libraries/ijs/default.nix
+++ b/pkgs/development/libraries/ijs/default.nix
@@ -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