Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 28 lines 536 B view raw
1{ 2 mkDerivation, 3 lib, 4 stdenv, 5 bison, 6 extra-cmake-modules, 7 flex, 8 media-player-info, 9 qtbase, 10 qtdeclarative, 11 qttools, 12}: 13 14mkDerivation { 15 pname = "solid"; 16 patches = [ ./fix-search-path.patch ]; 17 nativeBuildInputs = [ 18 bison 19 extra-cmake-modules 20 flex 21 ] ++ lib.optionals stdenv.hostPlatform.isLinux [ media-player-info ]; 22 buildInputs = [ 23 qtdeclarative 24 qttools 25 ]; 26 propagatedBuildInputs = [ qtbase ]; 27 propagatedUserEnvPkgs = lib.optionals stdenv.hostPlatform.isLinux [ media-player-info ]; 28}