clutter: add updateScript
This commit is contained in:
parent
dfcdb85599
commit
481c567c1a
1 changed files with 12 additions and 6 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue