From 10d1a9cf8e3c45b7b7e30be1463193e6aa43ccdb Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Wed, 6 May 2015 10:32:40 -0500 Subject: [PATCH] add accounts-qt --- .../libraries/accounts-qt/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/accounts-qt/default.nix diff --git a/pkgs/development/libraries/accounts-qt/default.nix b/pkgs/development/libraries/accounts-qt/default.nix new file mode 100644 index 000000000000..9194339b3a4f --- /dev/null +++ b/pkgs/development/libraries/accounts-qt/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, doxygen, glib, libaccounts-glib, pkgconfig, qt5 }: + +stdenv.mkDerivation rec { + name = "accounts-qt-1.11"; + src = fetchurl { + url = "https://accounts-sso.googlecode.com/files/${name}.tar.bz2"; + sha256 = "07drh4s7zaz4bzg2xhwm50ig1g8vlphfv02nrzz1yi085az1fmch"; + }; + + buildInputs = [ glib libaccounts-glib qt5.base ]; + nativeBuildInputs = [ doxygen pkgconfig ]; + + configurePhase = '' + qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake/AccountsQt5 + ''; + + postInstall = '' + mv $out/lib/cmake/AccountsQt5/AccountsQtConfig.cmake \ + $out/lib/cmake/AccountsQt5/AccountsQt5Config.cmake + mv $out/lib/cmake/AccountsQt5/AccountsQtConfigVersion.cmake \ + $out/lib/cmake/AccountsQt5/AccountsQt5ConfigVersion.cmake + ''; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a7302209d043..2a39a1d8381a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5508,6 +5508,8 @@ let accelio = callPackage ../development/libraries/accelio { }; + accounts-qt = callPackage ../development/libraries/accounts-qt { }; + accountsservice = callPackage ../development/libraries/accountsservice { }; acl = callPackage ../development/libraries/acl { };