mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-14 13:12:25 +01:00
ec99bf94de
Update f3kdb to the more recently-developed neo_f3kdb fork.
41 lines
980 B
Nix
41 lines
980 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, python3, vapoursynth, tbb }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "neo_f3kdb";
|
|
version = "r9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "HomeOfAviSynthPlusEvolution";
|
|
repo = finalAttrs.pname;
|
|
rev = finalAttrs.version;
|
|
sha256 = "sha256-MIvKjsemDeyv9qonuJbns0Dau8BjFQ1REppccs7s9JU=";
|
|
};
|
|
|
|
patches = [
|
|
./no-git.patch
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake pkg-config python3 ];
|
|
buildInputs = [ vapoursynth tbb ];
|
|
|
|
cmakeFlags = [
|
|
"-DVERSION=${finalAttrs.version}"
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -D --target-directory="$out/lib/vapoursynth" *.so
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A deband library and filter for AviSynth/VapourSynth";
|
|
homepage = "https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ tadeokondrak ];
|
|
platforms = platforms.all;
|
|
};
|
|
})
|