2019-09-04 12:27:48 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gtk3, libgee, gettext, gnome3
|
2018-05-16 05:59:53 +01:00
|
|
|
, libintl }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-03 05:52:40 +00:00
|
|
|
let
|
|
|
|
pname = "libgnome-games-support";
|
2019-09-04 12:27:48 +01:00
|
|
|
version = "1.4.4";
|
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";
|
2019-09-04 12:27:48 +01:00
|
|
|
sha256 = "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2019-09-04 12:27:48 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext ];
|
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";
|
2018-03-03 05:52:40 +00:00
|
|
|
homepage = https://wiki.gnome.org/Apps/Games;
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
platforms = platforms.unix;
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|