blob: d52154887071609807ca89a4bb584d981ee59a2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libjpeg, ffmpeg }:
stdenv.mkDerivation rec {
name = "motion-${version}";
version = "4.0.1";
src = fetchFromGitHub {
owner = "Motion-Project";
repo = "motion";
rev = "release-${version}";
sha256 = "172bn2ny5r9fcb4kn9bjq3znpgl8ai84w4b99vhk5jggp2haa3bb";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libjpeg ffmpeg ];
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 ];
};
}
|