From 3a6a3815e9eb002d0bfd399b18c378e5a9890e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Mon, 3 Nov 2014 21:55:33 +0100 Subject: [PATCH] kdeconnect: upgrade from 0.7.2 to 0.7.3 add new dependency: libfakekey libfakekey is an X virtual keyboard library --- pkgs/applications/misc/kdeconnect/default.nix | 10 +++++---- .../libraries/libfakekey/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 3 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 pkgs/development/libraries/libfakekey/default.nix diff --git a/pkgs/applications/misc/kdeconnect/default.nix b/pkgs/applications/misc/kdeconnect/default.nix index 663ce872e222..dcb83d7a79d6 100644 --- a/pkgs/applications/misc/kdeconnect/default.nix +++ b/pkgs/applications/misc/kdeconnect/default.nix @@ -1,15 +1,17 @@ -{ stdenv, fetchurl, gettext, kdelibs, libXtst, makeWrapper, qca2, qca2_ossl, qjson }: +{ stdenv, fetchurl, gettext, kdelibs, libXtst, libfakekey, makeWrapper, pkgconfig, qca2, qca2_ossl +, qjson +}: stdenv.mkDerivation rec { name = "kdeconnect-${version}"; - version = "0.7.2"; + version = "0.7.3"; src = fetchurl { url = "http://download.kde.org/unstable/kdeconnect/${version}/src/kdeconnect-kde-${version}.tar.xz"; - sha256 = "1v7sicgy39n8pn7nzq9f7lkmwbcvavhy3b66agyhxwmyzz6mcd4g"; + sha256 = "1vrr047bq5skxvibv5pb9ch9dxh005zmar017jzbyb9hilxr8kg4"; }; - buildInputs = [ gettext kdelibs libXtst makeWrapper qca2 qca2_ossl qjson ]; + buildInputs = [ gettext kdelibs libXtst libfakekey makeWrapper pkgconfig qca2 qca2_ossl qjson ]; postInstall = '' wrapProgram $out/lib/kde4/libexec/kdeconnectd --prefix QT_PLUGIN_PATH : ${qca2_ossl}/lib/qt4/plugins diff --git a/pkgs/development/libraries/libfakekey/default.nix b/pkgs/development/libraries/libfakekey/default.nix new file mode 100644 index 000000000000..4e74762f3f9d --- /dev/null +++ b/pkgs/development/libraries/libfakekey/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, libX11, libXi, libXtst, pkgconfig, xextproto }: + +stdenv.mkDerivation rec { + name = "libfakekey-${version}"; + version = "0.1"; + + src = fetchurl { + url = "http://downloads.yoctoproject.org/releases/matchbox/libfakekey/0.1/${name}.tar.gz"; + sha256 = "10msplyn535hmzbmbdnx4zc20hkaw6d81if5lzxs82k8sq2mkx9k"; + }; + + buildInputs = [ libX11 libXi libXtst pkgconfig xextproto ]; + + meta = with stdenv.lib; { + description = "X virtual keyboard library"; + homepage = https://www.yoctoproject.org/tools-resources/projects/matchbox; + license = licenses.gpl2; + maintainers = [ maintainers.goibhniu ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 345bfaddbb10..d76d62cd43bb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5673,6 +5673,10 @@ let libfaketime = callPackage ../development/libraries/libfaketime { }; + libfakekey = callPackage ../development/libraries/libfakekey { + inherit (xlibs) libX11 libXi xextproto; + }; + libfm = callPackage ../development/libraries/libfm { }; libfm-extra = callPackage ../development/libraries/libfm { extraOnly = true;