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.
48 lines
1.2 KiB
Nix
48 lines
1.2 KiB
Nix
{ lib, stdenv, fetchurl, wrapGAppsHook, gsettings-desktop-schemas, gspell, gtksourceview4, libgee
|
|
, tepl, amtk, gnome3, glib, pkg-config, intltool, itstool, libxml2 }:
|
|
let
|
|
version = "3.38.0";
|
|
pname = "gnome-latex";
|
|
in stdenv.mkDerivation {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0xqd49pgi82dygqnxj08i1v22b0vwwhx3zvdinhrx4jny339yam8";
|
|
};
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
configureFlags = ["--disable-dconf-migration"];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook
|
|
itstool
|
|
intltool
|
|
];
|
|
|
|
buildInputs = [
|
|
amtk
|
|
gnome3.adwaita-icon-theme
|
|
glib
|
|
gsettings-desktop-schemas
|
|
gspell
|
|
gtksourceview4
|
|
libgee
|
|
libxml2
|
|
tepl
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
passthru.updateScript = gnome3.updateScript { packageName = pname; };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.gnome.org/Apps/GNOME-LaTeX";
|
|
description = "A LaTeX editor for the GNOME desktop";
|
|
maintainers = [ maintainers.manveru ];
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|