nixpkgs/pkgs/development/libraries/gspell/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
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.
2021-01-19 01:16:25 -08:00

59 lines
1.0 KiB
Nix

{ stdenv
, fetchurl
, pkg-config
, libxml2
, glib
, gtk3
, enchant2
, icu
, vala
, gobject-introspection
, gnome3
}:
stdenv.mkDerivation rec {
pname = "gspell";
version = "1.9.1";
outputs = [ "out" "dev" ];
outputBin = "dev";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1pdb4gbjrs8mk6r0ipw5vxyvzav1wvkjq46kiq53r3nyznfpdfyw";
};
nativeBuildInputs = [
pkg-config
vala
gobject-introspection
libxml2
];
buildInputs = [
glib
gtk3
icu
];
propagatedBuildInputs = [
# required for pkg-config
enchant2
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with stdenv.lib; {
description = "A spell-checking library for GTK applications";
homepage = "https://wiki.gnome.org/Projects/gspell";
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}