forked from mirrors/nixpkgs
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
44 lines
1.2 KiB
Nix
44 lines
1.2 KiB
Nix
{ lib, stdenv, fetchurl, makeWrapper, pkg-config, zlib, freetype, cairo, lua5, texlive, ghostscript
|
|
, libjpeg, libpng, qtbase, mkDerivation
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
name = "ipe-7.2.13";
|
|
|
|
src = fetchurl {
|
|
url = "https://dl.bintray.com/otfried/generic/ipe/7.2/${name}-src.tar.gz";
|
|
sha256 = "1a6a88r7j5z01z6k1z72a8g3n6lxdjjxxkdrzrfdd6df2gbs6g5g";
|
|
};
|
|
|
|
sourceRoot = "${name}/src";
|
|
|
|
IPEPREFIX=placeholder "out";
|
|
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
|
|
LUA_PACKAGE = "lua";
|
|
|
|
buildInputs = [
|
|
libjpeg libpng zlib qtbase freetype cairo lua5 texlive ghostscript
|
|
];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
qtWrapperArgs = [ ''--prefix PATH : ${texlive}/bin'' ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
#TODO: make .desktop entry
|
|
|
|
meta = {
|
|
description = "An editor for drawing figures";
|
|
homepage = "http://ipe.otfried.org";
|
|
license = lib.licenses.gpl3Plus;
|
|
longDescription = ''
|
|
Ipe is an extensible drawing editor for creating figures in PDF and Postscript format.
|
|
It supports making small figures for inclusion into LaTeX-documents
|
|
as well as presentations in PDF.
|
|
'';
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|