2021-01-22 17:10:08 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, which, vapoursynth }:
|
2019-06-26 01:40:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vapoursynth-bilateral";
|
2022-05-27 22:44:08 +02:00
|
|
|
version = "3";
|
2019-06-26 01:40:02 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "HomeOfVapourSynthEvolution";
|
|
|
|
repo = "VapourSynth-Bilateral";
|
2022-05-27 22:44:08 +02:00
|
|
|
rev = "r${version}";
|
2019-06-26 01:40:02 +02:00
|
|
|
sha256 = "05rhbg84z74rk3jcxa6abgqcqnjzgmjw03wljxa55jc358h9a6f0";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = "chmod +x configure";
|
|
|
|
dontAddPrefix = true;
|
|
|
|
configureFlags = [ "--install=$(out)/lib/vapoursynth" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
buildInputs = [ vapoursynth ];
|
|
|
|
|
2021-01-22 17:10:08 +01:00
|
|
|
meta = with lib; {
|
2019-06-26 01:40:02 +02:00
|
|
|
description = "Bilateral filter for VapourSynth";
|
2021-01-22 17:22:37 +01:00
|
|
|
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Bilateral";
|
2019-06-26 01:40:02 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ tadeokondrak ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|