mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-26 18:52:25 +01:00
Simon Bruder
3ac96a0fb0
This is done to mirror what is done in nixpkgs (https://github.com/NixOS/nixpkgs/pull/170414).
30 lines
861 B
Nix
30 lines
861 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vapoursynth-eedi2";
|
|
version = "7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "HomeOfVapourSynthEvolution";
|
|
repo = "VapourSynth-EEDI2";
|
|
rev = "r${version}";
|
|
sha256 = "10yfndb4q5zd450v5di331r3hm1mfikw370jvxydd98b0lbjpp8f";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
buildInputs = [ vapoursynth ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace meson.build \
|
|
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "EEDI2 filter for VapourSynth";
|
|
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI2";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ tadeokondrak ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|