mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
09e0cc7cc7
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
27 lines
672 B
Nix
27 lines
672 B
Nix
{ stdenv, fetchFromGitHub, zlib, ffmpeg, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ffms-${version}";
|
|
version = "2.22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FFMS";
|
|
repo = "ffms2";
|
|
rev = version;
|
|
sha256 = "1ywcx1f3q533qfrbck5qhik3l617qhm062l8zixv02gnla7w6rkm";
|
|
};
|
|
|
|
NIX_CFLAGS_COMPILE = "-fPIC";
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ zlib ffmpeg ];
|
|
|
|
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; [ fuuzetsu ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|