git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #110022 from LeSuisse/fig2dev-3.2.8

fig2dev: 3.2.7b -> 3.2.8

commit8dd173c322d8eab878eabfd9a6b5a984b1bf94b8 authorSandro <sandro.jaeckel@gmail.com> dateWed 20 Jan 2021, 20:13 (6 years ago) parentec84cbf6974aa7
2 files changed+20−8
maintainers/maintainer-list.nix+6 pkgs/applications/graphics/fig2dev/default.nix+14−8
maintainers/maintainer-list.nix+6
@@ -5128,6 +5128,12 @@
51285128 githubId = 42153076;
51295129 name = "Alexey Nikashkin";
51305130 };
5131+ lesuisse = {
5132+ email = "thomas@gerbet.me";
5133+ github = "LeSuisse";
5134+ githubId = 737767;
5135+ name = "Thomas Gerbet";
5136+ };
51315137 lethalman = {
51325138 email = "lucabru@src.gnome.org";
51335139 github = "lethalman";
pkgs/applications/graphics/fig2dev/default.nix+14−8
@@ -1,26 +1,32 @@
1−{ lib, stdenv, fetchurl, ghostscript, libpng } :
1+{ lib, stdenv, fetchurl, ghostscript, libpng, makeWrapper
2+, coreutils, bc, gnugrep, gawk, gnused } :
23
3−let
4− version = "3.2.7b";
5−
6−in stdenv.mkDerivation {
4+stdenv.mkDerivation rec {
75 pname = "fig2dev";
8− inherit version;
6+ version = "3.2.8";
97
108 src = fetchurl {
119 url = "mirror://sourceforge/mcj/fig2dev-${version}.tar.xz";
12− sha256 = "1ck8gnqgg13xkxq4hrdy706i4xdgrlckx6bi6wxm1g514121pp27";
10+ sha256 = "0zg29yqknfafyzmmln4k7kydfb2dapk3r8ffvlqhj3cm8fp5h4lk";
1311 };
1412
13+ nativeBuildInputs = [ makeWrapper ];
1514 buildInputs = [ libpng ];
1615
1716 GSEXE="${ghostscript}/bin/gs";
1817
18+ postInstall = ''
19+ wrapProgram $out/bin/fig2ps2tex \
20+ --set PATH ${lib.makeBinPath [ coreutils bc gnugrep gawk ]}
21+ wrapProgram $out/bin/pic2tpic \
22+ --set PATH ${lib.makeBinPath [ gnused ]}
23+ '';
24+
1925 meta = with lib; {
2026 description = "Tool to convert Xfig files to other formats";
2127 homepage = "http://mcj.sourceforge.net/";
2228 license = licenses.xfig;
2329 platforms = platforms.linux;
30+ maintainers = with maintainers; [ lesuisse ];
2431 };
2532}
26−