vapoursynthPlugins.histogram: init at 2

pull/2/head
Simon Bruder 2021-01-23 10:09:52 +01:00 committed by Tadeo Kondrak
parent 3fe9ef81ee
commit 7148a48328
2 changed files with 27 additions and 0 deletions

View File

@ -15,6 +15,7 @@ self: super: {
f3kdb = super.callPackage ./plugins/f3kdb { };
ffms2 = super.ffms;
fmtconv = super.callPackage ./plugins/fmtconv { };
histogram = super.callPackage ./plugins/histogram { };
knlmeanscl = super.callPackage ./plugins/knlmeanscl { };
lsmashsource = super.callPackage ./plugins/lsmashsource { };
mvtools = super.vapoursynth-mvtools;

View File

@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, vapoursynth }:
stdenv.mkDerivation rec {
pname = "vapoursynth-histogram";
version = "2";
src = fetchFromGitHub {
owner = "dubhater";
repo = pname;
rev = "v${version}";
sha256 = "1wdjf44cl6sw7cqiv92q20gnn5bqlbln6pqxf41db7arjv93dh9l";
};
configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ];
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ vapoursynth ];
meta = with lib; {
description = "Histogram plugin for VapourSynth";
homepage = "https://github.com/dubhater/vapoursynth-histogram";
license = licenses.gpl2Plus; # https://github.com/dubhater/vapoursynth-histogram/issues/2
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}