nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 866 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 version = "3.09"; 9 pname = "epstool"; 10 11 src = fetchurl { 12 url = "http://ftp.de.debian.org/debian/pool/main/e/epstool/epstool_${finalAttrs.version}.orig.tar.xz"; 13 hash = "sha256-HoUknRpE+UGLH5Wjrr2LB4TauOSd62QXrJuZbKCPYBE="; 14 }; 15 16 makeFlags = [ 17 "CC=${stdenv.cc.targetPrefix}cc" 18 "CLINK=${stdenv.cc.targetPrefix}cc" 19 "LINK=${stdenv.cc.targetPrefix}cc" 20 ]; 21 22 installPhase = '' 23 make EPSTOOL_ROOT=$out install 24 ''; 25 26 meta = { 27 description = "Utility to create or extract preview images in EPS files, fix bounding boxes and convert to bitmaps"; 28 homepage = "http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm"; 29 license = lib.licenses.gpl2Only; 30 maintainers = [ lib.maintainers.asppsa ]; 31 platforms = lib.platforms.all; 32 mainProgram = "epstool"; 33 }; 34})