2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-08-25 07:34:09 +00:00
|
|
|
, fetchurl
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2020-08-25 07:34:09 +00:00
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, libgee
|
|
|
|
, gettext
|
|
|
|
, vala
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2020-08-25 07:34:09 +00:00
|
|
|
, libintl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2020-08-25 07:34:09 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 05:52:40 +00:00
|
|
|
pname = "libgnome-games-support";
|
2021-03-23 07:54:50 +00:00
|
|
|
version = "1.8.1";
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-03-23 07:54:50 +00:00
|
|
|
sha256 = "0gs1k88wwafn5cdyb5yq1cxpi9azachb0ysxgwh15sx77g6plyy3";
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
|
2020-08-25 07:34:09 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2020-08-25 07:34:09 +00:00
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libintl
|
|
|
|
];
|
|
|
|
|
2018-08-14 19:48:04 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
# Required by libgnome-games-support-1.pc
|
2020-08-25 07:34:09 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
libgee
|
2018-08-14 19:48:04 +00:00
|
|
|
];
|
2018-03-14 15:01:18 +00:00
|
|
|
|
2018-03-03 05:52:40 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-03 05:52:40 +00:00
|
|
|
packageName = pname;
|
2021-05-07 21:18:14 +00:00
|
|
|
attrPath = "gnome.${pname}";
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-03-03 05:52:40 +00:00
|
|
|
};
|
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Small library intended for internal use by GNOME Games, but it may be used by others";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Games";
|
2018-03-03 05:52:40 +00:00
|
|
|
license = licenses.lgpl3;
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2018-03-03 05:52:40 +00:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
}
|