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