From ee0db7648c02606f6c81892abdfc0051c96ff949 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Tue, 21 Jul 2015 15:50:31 +0200 Subject: [PATCH] signon: update to fix build (ZHF). cc @ttuegel --- pkgs/development/libraries/signon/default.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/pkgs/development/libraries/signon/default.nix b/pkgs/development/libraries/signon/default.nix index 0bafb42e2c5..7b3defb8a58 100644 --- a/pkgs/development/libraries/signon/default.nix +++ b/pkgs/development/libraries/signon/default.nix @@ -1,10 +1,11 @@ -{ stdenv, fetchurl, doxygen, qt5 }: +{ stdenv, fetchzip, doxygen, qt5 }: stdenv.mkDerivation rec { - name = "signon-8.56"; - src = fetchurl { - url = "https://accounts-sso.googlecode.com/files/${name}.tar.bz2"; - sha256 = "00kwysm7bga0bycclkcyslsa6aahcn98drm125l6brzhigc7qxa8"; + name = "signon-${version}"; + version = "8.57"; + src = fetchzip { + url = "http://signond.accounts-sso.googlecode.com/archive/${version}.zip"; + sha256 = "0q1ncmp27jrwbjkqisf0l63zzpw6bcsx5i4y86xixh8wd5arj87a"; }; buildInputs = [ qt5.base ]; @@ -14,11 +15,4 @@ stdenv.mkDerivation rec { qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake/SignOnQt5 ''; - postInstall = '' - mv $out/lib/cmake/SignOnQt5/SignOnQtConfig.cmake \ - $out/lib/cmake/SignOnQt5/SignOnQt5Config.cmake - mv $out/lib/cmake/SignOnQt5/SignOnQtConfigVersion.cmake \ - $out/lib/cmake/SignOnQt5/SignOnQt5ConfigVersion.cmake - ''; - }