libspelling: init at unstable-2023-07-17
This commit is contained in:
parent
6cee3b5893
commit
b628d6ee91
59
pkgs/development/libraries/libspelling/default.nix
Normal file
59
pkgs/development/libraries/libspelling/default.nix
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitLab
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, gobject-introspection
|
||||||
|
, vala
|
||||||
|
, gi-docgen
|
||||||
|
, glib
|
||||||
|
, gtk4
|
||||||
|
, gtksourceview5
|
||||||
|
, enchant
|
||||||
|
, icu
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "libspelling";
|
||||||
|
version = "unstable-2023-07-17";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
domain = "gitlab.gnome.org";
|
||||||
|
owner = "chergert";
|
||||||
|
repo = "libspelling";
|
||||||
|
rev = "65185023db95ec464970aeaeab766fe3ba26ae7d";
|
||||||
|
hash = "sha256-R3nPs16y8XGamQvMSF7wb52h0jxt17H2FZPwauLDI/c=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
gobject-introspection
|
||||||
|
vala
|
||||||
|
gi-docgen
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
gtk4
|
||||||
|
gtksourceview5
|
||||||
|
enchant
|
||||||
|
icu
|
||||||
|
];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
||||||
|
moveToOutput "share/doc" "$devdoc"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Spellcheck library for GTK 4";
|
||||||
|
homepage = "https://gitlab.gnome.org/chergert/libspelling";
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
|
maintainers = with maintainers; [ chuangzhu ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -22383,6 +22383,8 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) AudioUnit;
|
inherit (darwin.apple_sdk.frameworks) AudioUnit;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libspelling = callPackage ../development/libraries/libspelling { };
|
||||||
|
|
||||||
libsystemtap = callPackage ../development/libraries/libsystemtap { };
|
libsystemtap = callPackage ../development/libraries/libsystemtap { };
|
||||||
|
|
||||||
libgtop = callPackage ../development/libraries/libgtop { };
|
libgtop = callPackage ../development/libraries/libgtop { };
|
||||||
|
|
Loading…
Reference in a new issue