sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / gt / gtranslator / package.nix
blob60e5fa4a32f0f2ec7bd1b63b53ea774ed9c17555
2   stdenv,
3   lib,
4   fetchurl,
5   meson,
6   ninja,
7   pkg-config,
8   itstool,
9   gettext,
10   desktop-file-utils,
11   wrapGAppsHook4,
12   libxml2,
13   libadwaita,
14   libgda6,
15   libsoup_3,
16   libspelling,
17   json-glib,
18   glib,
19   gtk4,
20   gtksourceview5,
21   gnome,
22   gsettings-desktop-schemas,
25 stdenv.mkDerivation rec {
26   pname = "gtranslator";
27   version = "47.1";
29   src = fetchurl {
30     url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
31     hash = "sha256-yRwCZLmpnjCR75EfcxqP9tCahKK8115WUZcdprvqYiI=";
32   };
34   nativeBuildInputs = [
35     meson
36     ninja
37     pkg-config
38     itstool
39     gettext
40     desktop-file-utils
41     wrapGAppsHook4
42   ];
44   buildInputs = [
45     libxml2
46     glib
47     gtk4
48     gtksourceview5
49     libadwaita
50     libgda6
51     libsoup_3
52     libspelling
53     json-glib
54     gettext
55     gsettings-desktop-schemas
56   ];
58   passthru = {
59     updateScript = gnome.updateScript {
60       packageName = pname;
61     };
62   };
64   meta = with lib; {
65     description = "GNOME translation making program";
66     mainProgram = "gtranslator";
67     homepage = "https://gitlab.gnome.org/GNOME/gtranslator";
68     license = licenses.gpl3Plus;
69     maintainers = with maintainers; [ bobby285271 ];
70     platforms = platforms.linux;
71   };