nixpkgs/pkgs/applications/video/motion/default.nix

26 lines
695 B
Nix
Raw Normal View History

2018-11-04 03:51:27 -08:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, ffmpeg_3, libjpeg, libmicrohttpd }:
2016-11-06 16:38:23 -08:00
stdenv.mkDerivation rec {
pname = "motion";
2020-07-15 20:47:20 -07:00
version = "4.3.1";
2017-12-29 21:17:17 -08:00
2016-11-06 16:38:23 -08:00
src = fetchFromGitHub {
2018-11-04 03:51:27 -08:00
owner = "Motion-Project";
repo = "motion";
2020-07-15 20:47:20 -07:00
rev = "release-${version}";
sha256 = "01yy4pdgd4wa97bpw27zn5zik9iz719m1jiwkk9lb7m2a2951dhc";
2016-11-06 16:38:23 -08:00
};
2017-12-29 21:17:17 -08:00
2016-11-06 16:38:23 -08:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
2018-11-04 03:51:27 -08:00
buildInputs = [ ffmpeg_3 libjpeg libmicrohttpd ];
2017-12-29 21:17:17 -08:00
2016-11-06 16:38:23 -08:00
meta = with stdenv.lib; {
description = "Monitors the video signal from cameras";
homepage = "https://motion-project.github.io/";
2016-11-06 16:38:23 -08:00
license = licenses.gpl2Plus;
2018-12-15 08:28:34 -08:00
maintainers = with maintainers; [ puffnfresh veprbl ];
2016-11-06 16:38:23 -08:00
};
}