mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
f840ef145d
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ffms/versions
27 lines
672 B
Nix
27 lines
672 B
Nix
{ stdenv, fetchFromGitHub, zlib, ffmpeg, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ffms-${version}";
|
|
version = "2.23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FFMS";
|
|
repo = "ffms2";
|
|
rev = version;
|
|
sha256 = "0dkz5b3gxq5p4xz0qqg6l2sigszrlsinz3skyf0ln4wf3zrvf8m5";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|