nixpkgs/pkgs/development/libraries/signon/default.nix
aszlig 96bed5b7aa
signon: Fix running of {pre,post}Configure
Commit 0055c6a introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of signon override
the whole configurePhase, so this hook isn't run at all.

This fixes the build of signon and it now successfully compiles on my
machine.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-04-15 05:26:02 +02:00

20 lines
531 B
Nix

{ stdenv, fetchurl, doxygen, qtbase }:
stdenv.mkDerivation rec {
name = "signon-${version}";
version = "8.57";
src = fetchurl {
url = "https://gitlab.com/accounts-sso/signond/repository/archive.tar.gz?ref=${version}";
sha256 = "1vqkxhmdjk3217k38l2s3wld8x7f4jrbbh6xbr036cn1r23ncni5";
};
buildInputs = [ qtbase ];
nativeBuildInputs = [ doxygen ];
configurePhase = ''
runHook preConfigure
qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake/SignOnQt5
runHook postConfigure
'';
}