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
|
{ stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes
|
||||||
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib,
|
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib,
|
||||||
gobjectIntrospection, gtk3
|
gobjectIntrospection, gtk3, gnome3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
ver_maj = "1.26";
|
pname = "clutter";
|
||||||
ver_min = "2";
|
version = "1.26.2";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "clutter-${ver_maj}.${ver_min}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
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";
|
sha256 = "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,6 +26,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
#doCheck = true; # no tests possible without a display
|
#doCheck = true; # no tests possible without a display
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Library for creating fast, dynamic graphical user interfaces";
|
description = "Library for creating fast, dynamic graphical user interfaces";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue