1{
2 lib,
3 stdenv,
4 fetchurl,
5 pkg-config,
6 glib,
7 gtk3,
8 libgee,
9 gettext,
10 vala,
11 gnome,
12 libintl,
13 meson,
14 ninja,
15}:
16
17stdenv.mkDerivation rec {
18 pname = "libgnome-games-support";
19 version = "1.8.2";
20
21 src = fetchurl {
22 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
23 sha256 = "KENGBKewOHMawCMXMTiP8QT1ZbsjMMwk54zaBM/T730=";
24 };
25
26 nativeBuildInputs = [
27 gettext
28 meson
29 ninja
30 pkg-config
31 vala
32 ];
33
34 buildInputs = [
35 libintl
36 ];
37
38 propagatedBuildInputs = [
39 # Required by libgnome-games-support-1.pc
40 glib
41 gtk3
42 libgee
43 ];
44
45 passthru = {
46 updateScript = gnome.updateScript {
47 packageName = pname;
48 versionPolicy = "odd-unstable";
49 freeze = true;
50 };
51 };
52
53 meta = with lib; {
54 description = "Small library intended for internal use by GNOME Games, but it may be used by others";
55 homepage = "https://gitlab.gnome.org/GNOME/libgnome-games-support";
56 license = licenses.lgpl3;
57 teams = [ teams.gnome ];
58 platforms = platforms.unix;
59 };
60}