mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
1451a52a38
I haven't been doing any maintenance for a long time now and not only do I get notified, it also creates a fake impression that all these packages had at least one maintainer when in practice they had none.
34 lines
894 B
Nix
34 lines
894 B
Nix
{ stdenv, fetchFromGitHub, zlib, ffmpeg, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ffms";
|
|
version = "2.23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FFMS";
|
|
repo = "ffms2";
|
|
rev = version;
|
|
sha256 = "0dkz5b3gxq5p4xz0qqg6l2sigszrlsinz3skyf0ln4wf3zrvf8m5";
|
|
};
|
|
|
|
NIX_CFLAGS_COMPILE = "-fPIC";
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ zlib ffmpeg ];
|
|
|
|
# ffms includes a built-in vapoursynth plugin, see:
|
|
# https://github.com/FFMS/ffms2#avisynth-and-vapoursynth-plugin
|
|
postInstall = ''
|
|
mkdir $out/lib/vapoursynth
|
|
ln -s $out/lib/libffms2.so $out/lib/vapoursynth/libffms2.so
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/FFMS/ffms2/;
|
|
description = "Libav/ffmpeg based source library for easy frame accurate access";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|