nixpkgs/pkgs/development/libraries/ffms/default.nix

24 lines
667 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib, ffmpeg, pkgconfig }:
2013-12-16 13:32:50 +00:00
stdenv.mkDerivation rec {
2016-01-03 20:29:04 +00:00
name = "ffms-2.21";
2013-12-16 13:32:50 +00:00
src = fetchurl {
2016-01-03 20:29:04 +00:00
url = https://codeload.github.com/FFMS/ffms2/tar.gz/2.21;
2013-12-16 13:32:50 +00:00
name = "${name}.tar.gz";
2016-01-03 20:29:04 +00:00
sha256 = "00h2a5yhvr1qzbrzwbjv1ybxrx25lchgral6yxv36aaf4pi3rhn2";
};
NIX_CFLAGS_COMPILE = "-fPIC";
buildInputs = [ zlib ffmpeg pkgconfig ];
meta = {
homepage = http://code.google.com/p/ffmpegsource/;
description = "Libav/ffmpeg based source library for easy frame accurate access";
license = stdenv.lib.licenses.mit;
2014-09-30 10:46:00 +01:00
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
platforms = with stdenv.lib.platforms; unix;
};
}