From 74b6413005cd667357cf8a5b0bd3cdb5a745fed7 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 22 Jan 2021 17:10:08 +0100 Subject: [PATCH] vapoursynthPlugins: stdenv.lib -> lib stdenv.lib is deprecated and nixpkgs is currently switching to lib. --- plugins/addgrain/default.nix | 4 ++-- plugins/autocrop/default.nix | 4 ++-- plugins/awarpsharp2/default.nix | 4 ++-- plugins/beziercurve/default.nix | 2 +- plugins/bifrost/default.nix | 4 ++-- plugins/bilateral/default.nix | 4 ++-- plugins/bm3d/default.nix | 4 ++-- plugins/cnr2/default.nix | 4 ++-- plugins/continuityfixer/default.nix | 4 ++-- plugins/descale/default.nix | 2 +- plugins/eedi2/default.nix | 4 ++-- plugins/eedi3m/default.nix | 2 +- plugins/f3kdb/default.nix | 4 ++-- plugins/fmtconv/default.nix | 4 ++-- plugins/knlmeanscl/default.nix | 4 ++-- plugins/nnedi3/default.nix | 4 ++-- plugins/retinex/default.nix | 4 ++-- plugins/sangnom/default.nix | 4 ++-- plugins/tcanny/default.nix | 2 +- plugins/tnlmeans/default.nix | 4 ++-- plugins/wwxd/default.nix | 4 ++-- 21 files changed, 38 insertions(+), 38 deletions(-) diff --git a/plugins/addgrain/default.nix b/plugins/addgrain/default.nix index 7fa6bdc..659af8d 100644 --- a/plugins/addgrain/default.nix +++ b/plugins/addgrain/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: stdenv.mkDerivation rec { pname = "vapoursynth-addgrain"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { install -D libaddgrain${ext} $out/lib/vapoursynth/libaddgrain${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "AddGrain filter for VapourSynth"; homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-AddGrain; license = licenses.gpl2; diff --git a/plugins/autocrop/default.nix b/plugins/autocrop/default.nix index 3c79f6c..917622f 100644 --- a/plugins/autocrop/default.nix +++ b/plugins/autocrop/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, vapoursynth }: let ext = stdenv.targetPlatform.extensions.sharedLibrary; @@ -24,7 +24,7 @@ in stdenv.mkDerivation rec { install -D libautocrop${ext} $out/lib/vapoursynth/libautocrop${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Autocrop for VapourSynth"; homepage = https://github.com/Irrational-Encoding-Wizardry/vapoursynth-autocrop; license = licenses.unfree; # no license diff --git a/plugins/awarpsharp2/default.nix b/plugins/awarpsharp2/default.nix index 6c07d58..84bfe5a 100644 --- a/plugins/awarpsharp2/default.nix +++ b/plugins/awarpsharp2/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: stdenv.mkDerivation rec { pname = "vapoursynth-awarpsharp2"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ meson ninja pkg-config ]; buildInputs = [ vapoursynth ]; - meta = with stdenv.lib; { + meta = with lib; { description = "VapourSynth edge sharpener plugin"; homepage = https://github.com/dubhater/vapoursynth-awarpsharp2; license = licenses.isc; diff --git a/plugins/beziercurve/default.nix b/plugins/beziercurve/default.nix index efff4fb..9615828 100644 --- a/plugins/beziercurve/default.nix +++ b/plugins/beziercurve/default.nix @@ -33,7 +33,7 @@ in stdenv.mkDerivation rec { install -D VapourSynth-BezierCurve${ext} $out/lib/vapoursynth/VapourSynth-BezierCurve${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A bézier curve plugin for VapourSynth"; homepage = https://github.com/kewenyu/VapourSynth-BezierCurve; license = licenses.mit; diff --git a/plugins/bifrost/default.nix b/plugins/bifrost/default.nix index 5d9fcd8..487c734 100644 --- a/plugins/bifrost/default.nix +++ b/plugins/bifrost/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth }: stdenv.mkDerivation rec { pname = "vapoursynth-bifrost"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config autoreconfHook ]; buildInputs = [ vapoursynth ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Bifrost (temporal derainbowing) plugin for Vapoursynth"; homepage = https://github.com/dubhater/vapoursynth-bifrost; license = licenses.unfree; # no license diff --git a/plugins/bilateral/default.nix b/plugins/bilateral/default.nix index dbf4848..01ad90c 100644 --- a/plugins/bilateral/default.nix +++ b/plugins/bilateral/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, which, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, which, vapoursynth }: stdenv.mkDerivation rec { pname = "vapoursynth-bilateral"; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ which ]; buildInputs = [ vapoursynth ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Bilateral filter for VapourSynth"; homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Bilateral; license = licenses.gpl3; diff --git a/plugins/bm3d/default.nix b/plugins/bm3d/default.nix index 248e311..2e66826 100644 --- a/plugins/bm3d/default.nix +++ b/plugins/bm3d/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth, fftwSinglePrec }: +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth, fftwSinglePrec }: stdenv.mkDerivation rec { pname = "vapoursynth-bm3d"; @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { install -D libbm3d${ext} $out/lib/vapoursynth/libbm3d${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "BM3D denoising filter for VapourSynth"; homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-BM3D; license = licenses.mit; diff --git a/plugins/cnr2/default.nix b/plugins/cnr2/default.nix index 64274e7..1fb11e9 100644 --- a/plugins/cnr2/default.nix +++ b/plugins/cnr2/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth }: stdenv.mkDerivation rec { pname = "vapoursynth-cnr2"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config autoreconfHook ]; buildInputs = [ vapoursynth ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Temporal chroma denoiser for VapourSynth"; homepage = https://github.com/dubhater/vapoursynth-cnr2; license = licenses.gpl2; diff --git a/plugins/continuityfixer/default.nix b/plugins/continuityfixer/default.nix index 93b7046..1bc94dd 100644 --- a/plugins/continuityfixer/default.nix +++ b/plugins/continuityfixer/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, vapoursynth }: let ext = stdenv.targetPlatform.extensions.sharedLibrary; @@ -24,7 +24,7 @@ in stdenv.mkDerivation rec { install -D continuity${ext} $out/lib/vapoursynth/continuity${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Continuity Fixer port for Vapoursynth"; homepage = https://github.com/MonoS/VS-ContinuityFixer; license = licenses.unfree; # no license diff --git a/plugins/descale/default.nix b/plugins/descale/default.nix index d168e87..ea6307d 100644 --- a/plugins/descale/default.nix +++ b/plugins/descale/default.nix @@ -27,7 +27,7 @@ in stdenv.mkDerivation rec { install -D descale.py $out/lib/${python.libPrefix}/site-packages/descale.py ''; - meta = with stdenv.lib; { + meta = with lib; { description = "VapourSynth plugin to undo upscaling"; homepage = https://github.com/Irrational-Encoding-Wizardry/vapoursynth-descale; license = licenses.wtfpl; diff --git a/plugins/eedi2/default.nix b/plugins/eedi2/default.nix index 9bf4568..40aa7b4 100644 --- a/plugins/eedi2/default.nix +++ b/plugins/eedi2/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: stdenv.mkDerivation rec { pname = "vapoursynth-eedi2"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { install -D libeedi2${ext} $out/lib/vapoursynth/libeedi2${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "EEDI2 filter for VapourSynth"; homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI2; license = licenses.gpl2; diff --git a/plugins/eedi3m/default.nix b/plugins/eedi3m/default.nix index 0b5d6fe..7b6a43b 100644 --- a/plugins/eedi3m/default.nix +++ b/plugins/eedi3m/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { install -D libeedi3m${ext} $out/lib/vapoursynth/libeedi3m${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Renewed EEDI3 filter for VapourSynth"; homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI3; license = licenses.gpl2; diff --git a/plugins/f3kdb/default.nix b/plugins/f3kdb/default.nix index 90d4104..c070454 100644 --- a/plugins/f3kdb/default.nix +++ b/plugins/f3kdb/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, wafHook, python3, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, wafHook, python3, vapoursynth }: stdenv.mkDerivation rec { pname = "flash3kyuu_deband"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ wafHook python3 ]; buildInputs = [ vapoursynth ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A deband library and filter for AviSynth/VapourSynth"; homepage = https://github.com/SAPikachu/flash3kyuu_deband; license = licenses.gpl3; diff --git a/plugins/fmtconv/default.nix b/plugins/fmtconv/default.nix index cea8a34..a56ba04 100644 --- a/plugins/fmtconv/default.nix +++ b/plugins/fmtconv/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, vapoursynth }: stdenv.mkDerivation rec { pname = "fmtconv"; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ vapoursynth ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Format conversion tools for VapourSynth"; homepage = https://github.com/EleonoreMizo/fmtconv; license = licenses.wtfpl; diff --git a/plugins/knlmeanscl/default.nix b/plugins/knlmeanscl/default.nix index 824d8f7..c44db15 100644 --- a/plugins/knlmeanscl/default.nix +++ b/plugins/knlmeanscl/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, which, pkg-config, vapoursynth, boost, opencl-headers, ocl-icd }: +{ lib, stdenv, fetchFromGitHub, which, pkg-config, vapoursynth, boost, opencl-headers, ocl-icd }: stdenv.mkDerivation rec { pname = "knlmeanscl"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ which pkg-config ]; buildInputs = [ vapoursynth boost opencl-headers ocl-icd ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An optimized OpenCL implementation of the Non-local means de-noising algorithm"; homepage = https://github.com/Khanattila/KNLMeansCL; license = licenses.gpl3; diff --git a/plugins/nnedi3/default.nix b/plugins/nnedi3/default.nix index 0a8520a..88c55f2 100644 --- a/plugins/nnedi3/default.nix +++ b/plugins/nnedi3/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth, yasm }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth, yasm }: stdenv.mkDerivation rec { pname = "vapoursynth-nnedi3"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config autoreconfHook ]; buildInputs = [ vapoursynth yasm ]; - meta = with stdenv.lib; { + meta = with lib; { description = "nnedi3 filter for VapourSynth"; homepage = https://github.com/dubhater/vapoursynth-nnedi3; license = licenses.gpl2; diff --git a/plugins/retinex/default.nix b/plugins/retinex/default.nix index 246f959..f901c13 100644 --- a/plugins/retinex/default.nix +++ b/plugins/retinex/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: stdenv.mkDerivation rec { pname = "vapoursynth-retinex"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { install -D libretinex${ext} $out/lib/vapoursynth/libretinex${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Retinex algorithm for VapourSynth"; homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Retinex; license = licenses.gpl3; diff --git a/plugins/sangnom/default.nix b/plugins/sangnom/default.nix index 368e6e7..d6e0e3b 100644 --- a/plugins/sangnom/default.nix +++ b/plugins/sangnom/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: stdenv.mkDerivation rec { pname = "vapoursynth-sangnom"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ meson ninja pkg-config ]; buildInputs = [ vapoursynth ]; - meta = with stdenv.lib; { + meta = with lib; { description = "VapourSynth Single Field Deinterlacer"; homepage = https://github.com/dubhater/vapoursynth-sangnom; license = licenses.mit; diff --git a/plugins/tcanny/default.nix b/plugins/tcanny/default.nix index dc18019..da5207f 100644 --- a/plugins/tcanny/default.nix +++ b/plugins/tcanny/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { install -D libtcanny${ext} $out/lib/vapoursynth/libtcanny${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "TCanny filter for VapourSynth"; homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TCanny; license = licenses.gpl2; diff --git a/plugins/tnlmeans/default.nix b/plugins/tnlmeans/default.nix index 9e7abb6..4bfb56b 100644 --- a/plugins/tnlmeans/default.nix +++ b/plugins/tnlmeans/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, which, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, which, vapoursynth }: stdenv.mkDerivation rec { pname = "vapoursynth-tnlmeans"; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ which ]; buildInputs = [ vapoursynth ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An implementation of the NL-means denoising algorithm"; homepage = https://github.com/VFR-maniac/VapourSynth-TNLMeans; license = licenses.lgpl2; diff --git a/plugins/wwxd/default.nix b/plugins/wwxd/default.nix index 8b97290..09beb8b 100644 --- a/plugins/wwxd/default.nix +++ b/plugins/wwxd/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pkg-config, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, pkg-config, vapoursynth }: let ext = stdenv.targetPlatform.extensions.sharedLibrary; @@ -26,7 +26,7 @@ in stdenv.mkDerivation rec { install -D libwwxd${ext} $out/lib/vapoursynth/libwwxd${ext} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Xvid-like scene change detection for VapourSynth"; homepage = https://github.com/dubhater/vapoursynth-wwxd; license = licenses.unfree; # no license