nixpkgs/pkgs/tools/text/gtranslator/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1.1 KiB
Nix
Raw Normal View History

2022-03-24 07:08:22 +00:00
{ stdenv
, lib
2018-09-14 18:58:06 +00:00
, fetchurl
, meson
, ninja
, pkg-config
2018-09-14 18:58:06 +00:00
, itstool
, gettext
, wrapGAppsHook4
2018-09-14 18:58:06 +00:00
, libxml2
, libadwaita
, libgda6
, libsoup_3
, libspelling
2019-10-28 02:23:28 +00:00
, json-glib
2018-09-14 18:58:06 +00:00
, glib
, gtk4
, gtksourceview5
, gnome
2018-09-14 18:58:06 +00:00
, gsettings-desktop-schemas
}:
stdenv.mkDerivation rec {
pname = "gtranslator";
version = "45.3";
2018-09-14 18:58:06 +00:00
src = fetchurl {
2021-04-13 18:58:16 +00:00
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "MBAgTfXHpa4Cf1owsVRNaXfUF/Dku53il/CtGoAzGHM=";
2018-09-14 18:58:06 +00:00
};
nativeBuildInputs = [
meson
ninja
pkg-config
2018-09-14 18:58:06 +00:00
itstool
gettext
wrapGAppsHook4
2018-09-14 18:58:06 +00:00
];
buildInputs = [
libxml2
glib
gtk4
gtksourceview5
libadwaita
libgda6
libsoup_3
libspelling
2019-10-28 02:23:28 +00:00
json-glib
2018-09-14 18:58:06 +00:00
gettext
gsettings-desktop-schemas
];
passthru = {
updateScript = gnome.updateScript {
2018-09-14 18:58:06 +00:00
packageName = pname;
};
};
meta = with lib; {
2018-09-14 18:58:06 +00:00
description = "GNOME translation making program";
homepage = "https://wiki.gnome.org/Apps/Gtranslator";
2018-09-14 18:58:06 +00:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
2018-09-14 18:58:06 +00:00
platforms = platforms.linux;
};
}