diff --git a/default.nix b/default.nix index ba92310..b6b1962 100644 --- a/default.nix +++ b/default.nix @@ -27,6 +27,7 @@ self: super: { knlmeanscl = super.callPackage ./plugins/knlmeanscl { }; lsmashsource = super.callPackage ./plugins/lsmashsource { }; median = super.callPackage ./plugins/median { }; + msmoosh = super.callPackage ./plugins/msmoosh { }; mvtools = super.vapoursynth-mvtools; nnedi3 = super.callPackage ./plugins/nnedi3 { }; nnedi3cl = super.callPackage ./plugins/nnedi3cl { }; diff --git a/plugins/msmoosh/default.nix b/plugins/msmoosh/default.nix new file mode 100644 index 0000000..dd4ab57 --- /dev/null +++ b/plugins/msmoosh/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth }: + +stdenv.mkDerivation rec { + pname = "vapoursynth-msmoosh"; + version = "1.1"; + + src = fetchFromGitHub { + owner = "dubhater"; + repo = pname; + rev = "v${version}"; + sha256 = "1lqz5xml3j2fs6acrihf1sfhf1397kxsra9j6ky00wll8klcnv0d"; + }; + + configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ]; + + nativeBuildInputs = [ pkg-config autoreconfHook ]; + buildInputs = [ vapoursynth ]; + + meta = with lib; { + description = "A VapourSynth plugin providing MSharpen and MSmooth"; + homepage = "https://github.com/dubhater/vapoursynth-msmoosh"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ sbruder ]; + platforms = platforms.all; + }; +}