2018-11-04 11:51:27 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2020-06-07 12:39:09 +00:00
|
|
|
, ffmpeg_3, libjpeg, libmicrohttpd }:
|
2016-11-07 00:38:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "motion";
|
2020-01-19 03:34:07 +00:00
|
|
|
version = "4.3.0";
|
2017-12-30 05:17:17 +00:00
|
|
|
|
2016-11-07 00:38:23 +00:00
|
|
|
src = fetchFromGitHub {
|
2018-11-04 11:51:27 +00:00
|
|
|
owner = "Motion-Project";
|
|
|
|
repo = "motion";
|
2020-01-19 03:34:07 +00:00
|
|
|
rev = "Release-${version}";
|
|
|
|
sha256 = "08mm7ajgs0qnrydywxxyzcll09z80crjnjkjnckdi6ljsj6s96j8";
|
2016-11-07 00:38:23 +00:00
|
|
|
};
|
2017-12-30 05:17:17 +00:00
|
|
|
|
2016-11-07 00:38:23 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2018-11-04 11:51:27 +00:00
|
|
|
|
2020-06-07 12:39:09 +00:00
|
|
|
buildInputs = [ ffmpeg_3 libjpeg libmicrohttpd ];
|
2017-12-30 05:17:17 +00:00
|
|
|
|
2016-11-07 00:38:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Monitors the video signal from cameras";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://motion-project.github.io/";
|
2016-11-07 00:38:23 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2018-12-15 16:28:34 +00:00
|
|
|
maintainers = with maintainers; [ puffnfresh veprbl ];
|
2016-11-07 00:38:23 +00:00
|
|
|
};
|
|
|
|
}
|