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

24 lines
669 B
Nix
Raw Normal View History

2016-11-07 00:38:23 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libjpeg, ffmpeg }:
stdenv.mkDerivation rec {
name = "motion-${version}";
2017-12-30 05:17:17 +00:00
version = "4.1.1";
2016-11-07 00:38:23 +00:00
src = fetchFromGitHub {
owner = "Motion-Project";
repo = "motion";
rev = "release-${version}";
2017-12-30 05:17:17 +00:00
sha256 = "1prbgl9wb9q7igsb6n11c25m0p0z246fxr1q8n1vcjr4rcb65y38";
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 ];
buildInputs = [ libjpeg ffmpeg ];
2017-12-30 05:17:17 +00:00
2016-11-07 00:38:23 +00:00
meta = with stdenv.lib; {
homepage = http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome;
description = "Monitors the video signal from cameras";
license = licenses.gpl2Plus;
maintainers = [ maintainers.puffnfresh ];
};
}