9 stdenv.mkDerivation (finalAttrs: {
11 version = "1.1-unstable-2020-11-10";
13 src = fetchFromGitHub {
16 rev = "2a37acff0416c56cb349e5bc1b841b25ff1bb6f8";
17 hash = "sha256-c0W3Qj8kY6hMcMy/v5xhwJF9+muZjotmJqhbjqQVab0=";
26 # Don't hardcode static linking, let stdenv decide
28 substituteInPlace CMakeLists.txt \
29 --replace-fail 'quickflux STATIC' 'quickflux' \
30 --replace-fail 'DESTINATION include' 'DESTINATION ''${CMAKE_INSTALL_INCLUDEDIR}'
45 dontWrapQtApps = true;
48 (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
52 # Has extra $out in includes list, breaks usage of module (complains about non-existent path in module includes)
53 substituteInPlace $out/lib/cmake/QuickFlux/QuickFluxTargets.cmake \
54 --replace "\''${_IMPORT_PREFIX}/include" '${placeholder "dev"}/include'
58 description = "Flux implementation for QML";
59 homepage = "https://github.com/benlau/quickflux";
60 license = licenses.asl20;
61 maintainers = with maintainers; [ OPNA2608 ];
62 platforms = platforms.unix;