clutter: add updateScript

This commit is contained in:
Jan Tojnar 2018-03-03 02:43:52 +01:00
parent dfcdb85599
commit 481c567c1a
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,17 +1,17 @@
{ stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib,
gobjectIntrospection, gtk3
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib,
gobjectIntrospection, gtk3, gnome3
}:
let
ver_maj = "1.26";
ver_min = "2";
pname = "clutter";
version = "1.26.2";
in
stdenv.mkDerivation rec {
name = "clutter-${ver_maj}.${ver_min}";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/clutter/${ver_maj}/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7";
};
@ -26,6 +26,12 @@ stdenv.mkDerivation rec {
#doCheck = true; # no tests possible without a display
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = {
description = "Library for creating fast, dynamic graphical user interfaces";