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.
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{ lib, mkDerivation, fetchurl, qtbase, qtscript, qmake, zlib, pkg-config, poppler }:
|
|
|
|
mkDerivation rec {
|
|
pname = "texmaker";
|
|
version = "5.0.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.xm1math.net/texmaker/${pname}-${version}.tar.bz2";
|
|
sha256 = "1qnh5g8zkjpjmw2l8spcynpfgs3wpcfcla5ms2kkgvkbdlzspqqx";
|
|
};
|
|
|
|
buildInputs = [ qtbase qtscript poppler zlib ];
|
|
nativeBuildInputs = [ pkg-config poppler qmake ];
|
|
NIX_CFLAGS_COMPILE="-I${poppler.dev}/include/poppler";
|
|
|
|
qmakeFlags = [
|
|
"DESKTOPDIR=${placeholder "out"}/share/applications"
|
|
"ICONDIR=${placeholder "out"}/share/pixmaps"
|
|
"METAINFODIR=${placeholder "out"}/share/metainfo"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "TeX and LaTeX editor";
|
|
longDescription=''
|
|
This editor is a full fledged IDE for TeX and
|
|
LaTeX editing with completion, structure viewer, preview,
|
|
spell checking and support of any compilation chain.
|
|
'';
|
|
homepage = "http://www.xm1math.net/texmaker/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ cfouche markuskowa ];
|
|
};
|
|
}
|