2022-01-07 11:19:58 +00:00
|
|
|
{ dpkg, fetchurl, lib, stdenv }:
|
2017-06-25 12:58:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-10-03 02:23:06 +01:00
|
|
|
pname = "chromium-codecs-ffmpeg-extra";
|
2022-01-07 11:19:58 +00:00
|
|
|
version = "97.0.4692.56";
|
2017-06-25 12:58:18 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-01-07 11:19:58 +00:00
|
|
|
url = "https://launchpadlibrarian.net/574348729/${pname}_${version}-0ubuntu0.18.04.1_amd64.deb";
|
|
|
|
sha256 = "sha256-v5DHJxQjHjBeIS/psaM+LyUaHKlwzrKncLarErbUGVU=";
|
2017-06-25 12:58:18 +01:00
|
|
|
};
|
|
|
|
|
2019-06-28 22:48:13 +01:00
|
|
|
buildInputs = [ dpkg ];
|
2017-06-25 12:58:18 +01:00
|
|
|
|
2019-06-28 22:48:13 +01:00
|
|
|
unpackPhase = ''
|
|
|
|
dpkg-deb -x $src .
|
2017-06-25 12:58:18 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2019-06-28 22:48:13 +01:00
|
|
|
install -vD usr/lib/chromium-browser/libffmpeg.so $out/lib/libffmpeg.so
|
2017-06-25 12:58:18 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-06-25 12:58:18 +01:00
|
|
|
description = "Additional support for proprietary codecs for Vivaldi";
|
|
|
|
homepage = "https://ffmpeg.org/";
|
|
|
|
license = licenses.lgpl21;
|
2022-01-07 11:19:58 +00:00
|
|
|
maintainers = with maintainers; [ betaboon cawilliamson lluchs ];
|
2017-06-25 12:58:18 +01:00
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|