mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
836 B
Nix
30 lines
836 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.09";
|
|
pname = "epstool";
|
|
|
|
src = fetchurl {
|
|
url = "http://ftp.de.debian.org/debian/pool/main/e/epstool/epstool_${version}.orig.tar.xz";
|
|
hash = "sha256-HoUknRpE+UGLH5Wjrr2LB4TauOSd62QXrJuZbKCPYBE=";
|
|
};
|
|
|
|
makeFlags = [
|
|
"CC=${stdenv.cc.targetPrefix}cc"
|
|
"CLINK=${stdenv.cc.targetPrefix}cc"
|
|
"LINK=${stdenv.cc.targetPrefix}cc"
|
|
];
|
|
|
|
installPhase = ''
|
|
make EPSTOOL_ROOT=$out install
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Utility to create or extract preview images in EPS files, fix bounding boxes and convert to bitmaps";
|
|
homepage = "http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ maintainers.asppsa ];
|
|
platforms = platforms.all;
|
|
mainProgram = "epstool";
|
|
};
|
|
}
|