From e3c8a000532bdb8c91d9ff5e7bfde5b1f4bc76cf Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 23 Jan 2021 18:07:10 +0100 Subject: [PATCH] vapoursynthPlugins.fluxsmooth: init at 2 --- default.nix | 1 + plugins/fluxsmooth/default.nix | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 plugins/fluxsmooth/default.nix diff --git a/default.nix b/default.nix index e883f37..f6d742d 100644 --- a/default.nix +++ b/default.nix @@ -25,6 +25,7 @@ in f3kdb = super.callPackage ./plugins/f3kdb { }; ffms2 = super.ffms; fft3dfilter = super.callPackage ./plugins/fft3dfilter { }; + fluxsmooth = super.callPackage ./plugins/fluxsmooth { }; fmtconv = super.callPackage ./plugins/fmtconv { }; histogram = super.callPackage ./plugins/histogram { }; hqdn3d = super.callPackage ./plugins/hqdn3d { }; diff --git a/plugins/fluxsmooth/default.nix b/plugins/fluxsmooth/default.nix new file mode 100644 index 0000000..8f70154 --- /dev/null +++ b/plugins/fluxsmooth/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth }: + +stdenv.mkDerivation rec { + pname = "vapoursynth-fluxsmooth"; + version = "2"; + + src = fetchFromGitHub { + owner = "dubhater"; + repo = pname; + rev = "v${version}"; + sha256 = "0z227yiyd5dss9556n024g71l5hp4ghbdwfs88han2crff6rfpdv"; + }; + + configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ]; + + nativeBuildInputs = [ pkg-config autoreconfHook ]; + buildInputs = [ vapoursynth ]; + + meta = with lib; { + description = "A vapoursynth filter plugin for smoothing of fluctuations"; + homepage = "https://github.com/dubhater/vapoursynth-fluxsmooth"; + license = licenses.unfree; # no license for current version (base is public domain) + maintainers = with maintainers; [ sbruder ]; + platforms = platforms.all; + }; +}