nixpkgs/pkgs/applications/video/motion/default.nix
Doron Behar 01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00

26 lines
695 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, ffmpeg_3, libjpeg, libmicrohttpd }:
stdenv.mkDerivation rec {
pname = "motion";
version = "4.3.0";
src = fetchFromGitHub {
owner = "Motion-Project";
repo = "motion";
rev = "Release-${version}";
sha256 = "08mm7ajgs0qnrydywxxyzcll09z80crjnjkjnckdi6ljsj6s96j8";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ffmpeg_3 libjpeg libmicrohttpd ];
meta = with stdenv.lib; {
description = "Monitors the video signal from cameras";
homepage = "https://motion-project.github.io/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ puffnfresh veprbl ];
};
}