summary refs log tree commit diff
path: root/pkgs/development/libraries/clutter
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-03-05 12:49:52 +0100
committerVladimír Čunát <vcunat@gmail.com>2018-03-05 14:53:27 +0100
commit565bd805e6aea9258ead5449b46c5e56ae0568fb (patch)
tree81a23c558823fc865d180bb8b6318d24ec38729d /pkgs/development/libraries/clutter
parent25a78f7234ced8840610178a695078b5b08d9e6b (diff)
parent97693915e1d31478528ee72e8d1fea5aa384577b (diff)
downloadnixpkgs-565bd805e6aea9258ead5449b46c5e56ae0568fb.tar
nixpkgs-565bd805e6aea9258ead5449b46c5e56ae0568fb.tar.gz
nixpkgs-565bd805e6aea9258ead5449b46c5e56ae0568fb.tar.bz2
nixpkgs-565bd805e6aea9258ead5449b46c5e56ae0568fb.tar.lz
nixpkgs-565bd805e6aea9258ead5449b46c5e56ae0568fb.tar.xz
nixpkgs-565bd805e6aea9258ead5449b46c5e56ae0568fb.tar.zst
nixpkgs-565bd805e6aea9258ead5449b46c5e56ae0568fb.zip
Merge branch 'master'
Diffstat (limited to 'pkgs/development/libraries/clutter')
-rw-r--r--pkgs/development/libraries/clutter/default.nix20
1 files changed, 13 insertions, 7 deletions
diff --git a/pkgs/development/libraries/clutter/default.nix b/pkgs/development/libraries/clutter/default.nix
index 19f6729e1fc..eba94288e8f 100644
--- a/pkgs/development/libraries/clutter/default.nix
+++ b/pkgs/development/libraries/clutter/default.nix
@@ -1,17 +1,17 @@
 { stdenv, fetchurl, glib, pkgconfig, libGLU_combined, 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";
   };
 
@@ -19,13 +19,19 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkgconfig ];
   propagatedBuildInputs =
     [ libX11 libGLU_combined libXext libXfixes libXdamage libXcomposite libXi cogl pango
-      atk json_glib gobjectIntrospection libxcb
+      atk json-glib gobjectIntrospection libxcb
     ];
 
   configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
 
   #doCheck = true; # no tests possible without a display
 
+  passthru = {
+    updateScript = gnome3.updateScript {
+      packageName = pname;
+    };
+  };
+
   meta = {
     description = "Library for creating fast, dynamic graphical user interfaces";