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

26 lines
699 B
Nix
Raw Normal View History

2018-11-04 12:51:27 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, ffmpeg, libjpeg, libmicrohttpd }:
2016-11-07 01:38:23 +01:00
stdenv.mkDerivation rec {
name = "motion-${version}";
version = "4.2.2";
2017-12-30 06:17:17 +01:00
2016-11-07 01:38:23 +01:00
src = fetchFromGitHub {
2018-11-04 12:51:27 +01:00
owner = "Motion-Project";
repo = "motion";
rev = "release-${version}";
sha256 = "05c1gx75xy2hw49x6vkydvwxbr80kipsc3nr906k3hq8735svx6f";
2016-11-07 01:38:23 +01:00
};
2017-12-30 06:17:17 +01:00
2016-11-07 01:38:23 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
2018-11-04 12:51:27 +01:00
buildInputs = [ ffmpeg libjpeg libmicrohttpd ];
2017-12-30 06:17:17 +01:00
2016-11-07 01:38:23 +01:00
meta = with stdenv.lib; {
description = "Monitors the video signal from cameras";
2018-11-04 12:51:27 +01:00
homepage = https://motion-project.github.io/;
2016-11-07 01:38:23 +01:00
license = licenses.gpl2Plus;
2018-12-15 17:28:34 +01:00
maintainers = with maintainers; [ puffnfresh veprbl ];
2016-11-07 01:38:23 +01:00
};
}