1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

signon: update to fix build (ZHF). cc @ttuegel

This commit is contained in:
Luca Bruno 2015-07-21 15:50:31 +02:00
parent aa1355aa30
commit ee0db7648c

View file

@ -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
'';
}