diff --git a/pkgs/by-name/ff/ffms/package.nix b/pkgs/by-name/ff/ffms/package.nix index 6d5db4cdac5b..61db0ad742ed 100644 --- a/pkgs/by-name/ff/ffms/package.nix +++ b/pkgs/by-name/ff/ffms/package.nix @@ -1,10 +1,11 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, ffmpeg -, zlib +{ + lib, + stdenv, + fetchFromGitHub, + autoreconfHook, + pkg-config, + ffmpeg, + zlib, }: stdenv.mkDerivation rec { @@ -38,7 +39,7 @@ stdenv.mkDerivation rec { # https://github.com/FFMS/ffms2#avisynth-and-vapoursynth-plugin postInstall = '' mkdir $out/lib/vapoursynth - ln -s $out/lib/libffms2.so $out/lib/vapoursynth/libffms2.so + ln -s $out/lib/libffms2${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/vapoursynth/libffms2${stdenv.hostPlatform.extensions.sharedLibrary} ''; meta = with lib; { @@ -46,7 +47,7 @@ stdenv.mkDerivation rec { description = "FFmpeg based source library for easy frame accurate access"; mainProgram = "ffmsindex"; license = licenses.mit; - maintainers = [ ]; + maintainers = with maintainers; [ wegank ]; platforms = platforms.unix; }; }