From 1d931d049b75c66f2b8ffc2a9c1d336967a5eeaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 7 Sep 2013 23:36:21 +0200 Subject: [PATCH] libwnck: update News claim it's important for Xfce-4.10, which still builds. --- .../development/libraries/libwnck/default.nix | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/libwnck/default.nix b/pkgs/development/libraries/libwnck/default.nix index d2855afc43ee..6a4479bdda38 100644 --- a/pkgs/development/libraries/libwnck/default.nix +++ b/pkgs/development/libraries/libwnck/default.nix @@ -1,14 +1,24 @@ -{stdenv, fetchurl, pkgconfig, libX11, gtk, intltool}: +{ stdenv, fetchurl, pkgconfig, gtk, intltool, xorg }: -stdenv.mkDerivation { - name = "libwnck-2.30.7"; +let + ver_maj = "2.31"; + ver_min = "0"; +in +stdenv.mkDerivation rec { + name = "libwnck-${ver_maj}.${ver_min}"; src = fetchurl { - url = mirror://gnome/sources/libwnck/2.30/libwnck-2.30.7.tar.xz; - sha256 = "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"; + url = "mirror://gnome/sources/libwnck/${ver_maj}/${name}.tar.xz"; + sha256 = "17isfjvrzgj5znld2a7zsk9vd39q9wnsysnw5jr8iz410z935xw3"; }; - buildInputs = [ pkgconfig libX11 gtk intltool ]; + buildInputs = [ pkgconfig gtk intltool xorg.libX11 xorg.libXres ]; + # ?another optional: startup-notification configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK + + meta = { + description = "A library for creating task lists and pagers"; + license = stdenv.lib.licenses.lgpl21; + }; }