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-12-12 19:00:01 +00:00
|
|
|
version = "1.4.3";
|
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";
|
2018-12-12 19:00:01 +00:00
|
|
|
sha256 = "0g6a1vvhrbs0pfnzjfg3lgqvppwkydn6j3dn713zhrjhma9pljkh";
|
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
|
|
|
};
|
|
|
|
}
|