Loading pkgs/by-name/kv/kvazaar/package.nix +14 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,9 @@ gitUpdater, testers, cmake, libtool, ffmpeg-headless, hm, }: stdenv.mkDerivation (finalAttrs: { Loading @@ -21,10 +24,19 @@ stdenv.mkDerivation (finalAttrs: { # https://github.com/ultravideo/kvazaar/pull/426 postPatch = '' substituteInPlace CMakeLists.txt --replace-fail 'NOT LINUX' 'NOT LINUX AND NOT BSD' substituteInPlace tests/util.sh --replace-fail '../libtool' '${lib.getExe libtool}' substituteInPlace tests/util.sh --replace-fail 'TAppDecoderStatic' '${lib.getExe' hm "TAppDecoder"}' chmod +x tests/util.sh ''; nativeBuildInputs = [ cmake ]; nativeCheckInputs = [ ffmpeg-headless ]; outputs = [ "out" "lib" Loading @@ -32,6 +44,8 @@ stdenv.mkDerivation (finalAttrs: { "man" ]; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; passthru = { updateScript = gitUpdater { rev-prefix = "v"; }; tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; Loading Loading
pkgs/by-name/kv/kvazaar/package.nix +14 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,9 @@ gitUpdater, testers, cmake, libtool, ffmpeg-headless, hm, }: stdenv.mkDerivation (finalAttrs: { Loading @@ -21,10 +24,19 @@ stdenv.mkDerivation (finalAttrs: { # https://github.com/ultravideo/kvazaar/pull/426 postPatch = '' substituteInPlace CMakeLists.txt --replace-fail 'NOT LINUX' 'NOT LINUX AND NOT BSD' substituteInPlace tests/util.sh --replace-fail '../libtool' '${lib.getExe libtool}' substituteInPlace tests/util.sh --replace-fail 'TAppDecoderStatic' '${lib.getExe' hm "TAppDecoder"}' chmod +x tests/util.sh ''; nativeBuildInputs = [ cmake ]; nativeCheckInputs = [ ffmpeg-headless ]; outputs = [ "out" "lib" Loading @@ -32,6 +44,8 @@ stdenv.mkDerivation (finalAttrs: { "man" ]; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; passthru = { updateScript = gitUpdater { rev-prefix = "v"; }; tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; Loading