Merge pull request #112323 from prusnak/ipe

ipe: 7.2.13 -> 7.2.23

authored by Sandro and committed by GitHub 98dd7940 e57a38af

+41 -17
+41 -17
pkgs/applications/graphics/ipe/default.nix
··· 1 - { lib, fetchurl, makeWrapper, pkg-config, zlib, freetype, cairo, lua5, texlive, ghostscript 2 - , libjpeg, libpng, qtbase, mkDerivation 1 + { lib 2 + , mkDerivation 3 + , fetchurl 4 + , pkg-config 5 + , cairo 6 + , freetype 7 + , ghostscript 8 + , gsl 9 + , libjpeg 10 + , libpng 11 + , libspiro 12 + , lua5 13 + , qtbase 14 + , texlive 15 + , zlib 3 16 }: 4 17 5 18 mkDerivation rec { 6 - name = "ipe-7.2.13"; 19 + pname = "ipe"; 20 + version = "7.2.23"; 7 21 8 22 src = fetchurl { 9 - url = "https://dl.bintray.com/otfried/generic/ipe/7.2/${name}-src.tar.gz"; 10 - sha256 = "1a6a88r7j5z01z6k1z72a8g3n6lxdjjxxkdrzrfdd6df2gbs6g5g"; 23 + url = "https://dl.bintray.com/otfried/generic/ipe/7.2/${pname}-${version}-src.tar.gz"; 24 + sha256 = "0yvm3zfba1ljyy518vjnvwpyg7lgnmdwm19v5k0wfgz64aca56x1"; 11 25 }; 12 26 13 - sourceRoot = "${name}/src"; 27 + sourceRoot = "${pname}-${version}/src"; 14 28 15 - IPEPREFIX=placeholder "out"; 16 - URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/"; 17 - LUA_PACKAGE = "lua"; 29 + nativeBuildInputs = [ pkg-config ]; 18 30 19 31 buildInputs = [ 20 - libjpeg libpng zlib qtbase freetype cairo lua5 texlive ghostscript 32 + cairo 33 + freetype 34 + ghostscript 35 + gsl 36 + libjpeg 37 + libpng 38 + libspiro 39 + lua5 40 + qtbase 41 + texlive 42 + zlib 21 43 ]; 22 44 23 - nativeBuildInputs = [ pkg-config ]; 45 + IPEPREFIX=placeholder "out"; 46 + URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/"; 47 + LUA_PACKAGE = "lua"; 24 48 25 49 qtWrapperArgs = [ "--prefix PATH : ${texlive}/bin" ]; 26 50 27 51 enableParallelBuilding = true; 28 52 29 - #TODO: make .desktop entry 53 + # TODO: make .desktop entry 30 54 31 - meta = { 55 + meta = with lib; { 32 56 description = "An editor for drawing figures"; 33 - homepage = "http://ipe.otfried.org"; 34 - license = lib.licenses.gpl3Plus; 57 + homepage = "http://ipe.otfried.org"; # https not available 58 + license = licenses.gpl3Plus; 35 59 longDescription = '' 36 60 Ipe is an extensible drawing editor for creating figures in PDF and Postscript format. 37 61 It supports making small figures for inclusion into LaTeX-documents 38 62 as well as presentations in PDF. 39 63 ''; 40 - maintainers = [ lib.maintainers.ttuegel ]; 41 - platforms = lib.platforms.linux; 64 + maintainers = with maintainers; [ ttuegel ]; 65 + platforms = platforms.linux; 42 66 }; 43 67 }