vapoursynth-nix/pkgs/vapoursynth-hqdn3d/package.nix

42 lines
896 B
Nix
Raw Normal View History

2024-11-04 14:02:36 +01:00
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
vapoursynth,
}:
stdenv.mkDerivation {
pname = "vapoursynth-hqdn3d";
version = "unstable-2023-07-09";
src = fetchFromGitHub {
owner = "Hinterwaeldlers";
repo = "vapoursynth-hqdn3d";
rev = "eb820cb23f7dc47eb67ea95def8a09ab69251d30";
hash = "sha256-BObHZs7GQW6UFUwohII1MXHtk5ooGh/LfZ3ZsqoPQBU=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [ vapoursynth ];
configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ];
postInstall = ''
rm -f $out/lib/vapoursynth/*.la
'';
meta = {
inherit (vapoursynth.meta) platforms;
description = "Plugin for VapourSynth: hqdn3d";
homepage = "https://github.com/Hinterwaeldlers/vapoursynth-hqdn3d";
license = with lib.licenses; [ gpl2Plus ];
maintainers = with lib.maintainers; [ snaki ];
};
}