pict-rs: Use main ffmpeg attribute

Don't build against ffmpeg-4.
This commit is contained in:
adisbladis 2023-07-16 20:24:02 +12:00
parent 9f57f0f31d
commit 71632b0dac
2 changed files with 3 additions and 6 deletions

View file

@ -4,7 +4,7 @@
, rustPlatform
, makeWrapper
, protobuf
, Security
, darwin
, imagemagick
, ffmpeg
, exiftool
@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec {
PROTOC_INCLUDE = "${protobuf}/include";
nativeBuildInputs = [ makeWrapper ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks ];
postInstall = ''
wrapProgram "$out/bin/pict-rs" \

View file

@ -26346,10 +26346,7 @@ with pkgs;
petidomo = callPackage ../servers/mail/petidomo { };
pict-rs = callPackage ../servers/web-apps/pict-rs {
inherit (darwin.apple_sdk.frameworks) Security;
ffmpeg = ffmpeg_4;
};
pict-rs = callPackage ../servers/web-apps/pict-rs { };
pict-rs_0_3 = callPackage ../servers/web-apps/pict-rs/0.3.nix {
inherit (darwin.apple_sdk.frameworks) Security;