2018-06-01 17:34:56 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, meson, ninja
|
|
|
|
, gobjectIntrospection, clutter, gtk3, gnome3 }:
|
|
|
|
|
2018-03-03 01:42:45 +00:00
|
|
|
let
|
|
|
|
pname = "clutter-gtk";
|
|
|
|
version = "1.8.4";
|
|
|
|
in
|
2018-06-01 17:34:56 +01:00
|
|
|
|
2010-07-18 23:45:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 01:42:45 +00:00
|
|
|
name = "${pname}-${version}";
|
2010-07-18 23:45:03 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-03 01:42:45 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
2017-10-03 02:12:51 +01:00
|
|
|
sha256 = "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j";
|
2010-07-18 23:45:03 +01:00
|
|
|
};
|
|
|
|
|
2012-03-17 13:30:46 +00:00
|
|
|
propagatedBuildInputs = [ clutter gtk3 ];
|
2018-06-01 17:34:56 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
|
2013-08-06 08:10:00 +01:00
|
|
|
|
2011-02-12 13:52:17 +00:00
|
|
|
postBuild = "rm -rf $out/share/gtk-doc";
|
|
|
|
|
2018-03-03 01:42:45 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-07-18 23:45:03 +01:00
|
|
|
meta = {
|
|
|
|
description = "Clutter-GTK";
|
|
|
|
homepage = http://www.clutter-project.org/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ lethalman ];
|
2018-04-30 23:47:47 +01:00
|
|
|
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
|
2010-07-18 23:45:03 +01:00
|
|
|
};
|
|
|
|
}
|