1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/development/libraries/ffms/default.nix

27 lines
672 B
Nix
Raw Normal View History

2017-03-12 20:24:05 +00:00
{ stdenv, fetchFromGitHub, zlib, ffmpeg, pkgconfig }:
2013-12-16 13:32:50 +00:00
stdenv.mkDerivation rec {
2017-03-12 20:24:05 +00:00
name = "ffms-${version}";
version = "2.22";
2013-12-16 13:32:50 +00:00
2017-03-12 20:24:05 +00:00
src = fetchFromGitHub {
owner = "FFMS";
repo = "ffms2";
rev = version;
sha256 = "1ywcx1f3q533qfrbck5qhik3l617qhm062l8zixv02gnla7w6rkm";
};
NIX_CFLAGS_COMPILE = "-fPIC";
2017-03-12 20:24:05 +00:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib ffmpeg ];
2017-03-12 20:24:05 +00:00
meta = with stdenv.lib; {
homepage = https://github.com/FFMS/ffms2/;
description = "Libav/ffmpeg based source library for easy frame accurate access";
2017-03-12 20:24:05 +00:00
license = licenses.mit;
maintainers = with maintainers; [ fuuzetsu ];
platforms = platforms.unix;
};
}