From 33111a0dc2d0421d74c35e0510701f6a5b580b6d Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 23 Jan 2021 13:42:38 +0100 Subject: [PATCH] vapoursynthPlugins.msmoosh: init at 1.1 --- default.nix | 1 + plugins/msmoosh/default.nix | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 plugins/msmoosh/default.nix 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; + }; +}