2020-03-08 11:00:51 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gtk3, libgee, gettext, vala, gnome3
|
|
|
|
, libintl, meson, ninja }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-03 05:52:40 +00:00
|
|
|
let
|
|
|
|
pname = "libgnome-games-support";
|
2020-04-08 06:13:17 +01:00
|
|
|
version = "1.6.1";
|
2018-03-03 05:52:40 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2020-04-08 06:13:17 +01:00
|
|
|
sha256 = "1gq8p38k92lsr6dbav6pgmw0adnzzhcs06jqdkr37p145vv6ls7v";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2020-03-08 11:00:51 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext vala ];
|
2018-08-14 20:48:04 +01:00
|
|
|
buildInputs = [ libintl ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
# Required by libgnome-games-support-1.pc
|
|
|
|
glib gtk3 libgee
|
|
|
|
];
|
2018-03-14 15:01:18 +00:00
|
|
|
|
2018-03-03 05:52:40 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
2018-03-14 14:58:29 +00:00
|
|
|
attrPath = "gnome3.${pname}";
|
2018-03-03 05:52:40 +00:00
|
|
|
};
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Small library intended for internal use by GNOME Games, but it may be used by others";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Games";
|
2018-03-03 05:52:40 +00:00
|
|
|
license = licenses.lgpl3;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2018-03-03 05:52:40 +00:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|