2021-05-16 11:57:13 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, ffmpeg, vapoursynth }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "d2vsource";
|
2023-11-20 09:17:09 +01:00
|
|
|
version = "1.3";
|
2021-05-16 11:57:13 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dwbuiten";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-11-20 09:17:09 +01:00
|
|
|
sha256 = "sha256-iq03BbrFqTB7n9gExLkp16TxgDZdUB4Ne8LUU69AOWc=";
|
2021-05-16 11:57:13 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ ffmpeg vapoursynth ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "D2V parser and decoder for VapourSynth";
|
2023-11-20 09:13:38 +01:00
|
|
|
homepage = "https://github.com/dwbuiten/d2vsource";
|
2021-05-16 11:57:13 +02:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ sbruder ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|