2023-11-20 20:39:50 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, python3, vapoursynth, tbb }:
|
2019-06-26 01:40:02 +02:00
|
|
|
|
2023-11-20 20:39:50 +01:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "neo_f3kdb";
|
|
|
|
version = "r9";
|
2019-06-26 01:40:02 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-11-20 20:39:50 +01:00
|
|
|
owner = "HomeOfAviSynthPlusEvolution";
|
|
|
|
repo = finalAttrs.pname;
|
|
|
|
rev = finalAttrs.version;
|
|
|
|
sha256 = "sha256-MIvKjsemDeyv9qonuJbns0Dau8BjFQ1REppccs7s9JU=";
|
2019-06-26 01:40:02 +02:00
|
|
|
};
|
|
|
|
|
2023-11-20 20:39:50 +01:00
|
|
|
patches = [
|
|
|
|
./no-git.patch
|
|
|
|
];
|
2019-06-26 01:40:02 +02:00
|
|
|
|
2023-11-20 20:39:50 +01:00
|
|
|
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
|
|
|
|
'';
|
2019-06-26 01:40:02 +02:00
|
|
|
|
2021-01-22 17:10:08 +01:00
|
|
|
meta = with lib; {
|
2019-06-26 01:40:02 +02:00
|
|
|
description = "A deband library and filter for AviSynth/VapourSynth";
|
2023-11-20 20:39:50 +01:00
|
|
|
homepage = "https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb";
|
2019-06-26 01:40:02 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ tadeokondrak ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
2023-11-20 20:39:50 +01:00
|
|
|
})
|