2018-05-16 05:59:53 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gtk3, libgee, intltool, gnome3
|
|
|
|
, libintl }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-03 05:52:40 +00:00
|
|
|
let
|
|
|
|
pname = "libgnome-games-support";
|
2018-08-17 10:02:41 +01:00
|
|
|
version = "1.4.2";
|
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-03-03 05:52:40 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-08-17 10:02:41 +01:00
|
|
|
sha256 = "02hirpk885jndwarbl3cl5fk7w2z5ziv677csyv1wi2n6rmpn088";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2018-05-16 05:59:53 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
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
|
|
|
};
|
|
|
|
}
|