polkit_qt4: Use multiple outputs

This commit is contained in:
Eelco Dolstra 2016-09-22 16:48:35 +02:00
parent 39181d4418
commit 711b536934

View File

@ -10,10 +10,21 @@ stdenv.mkDerivation {
sha256 = "1ip78x20hjqvm08kxhp6gb8hf6k5n6sxyx6kk2yvvq53djzh7yv7";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cmake pkgconfig automoc4 ];
propagatedBuildInputs = [ polkit glib qt4 ];
postFixup =
''
for i in $dev/lib/cmake/*/*.cmake; do
echo "fixing $i"
substituteInPlace $i \
--replace "\''${PACKAGE_PREFIX_DIR}/lib" $out/lib
done
'';
meta = {
description = "A Qt wrapper around PolKit";
maintainers = with stdenv.lib.maintainers; [ ttuegel ];