diff options
author | Brian McKenna <bmckenna@atlassian.com> | 2016-11-07 11:38:23 +1100 |
---|---|---|
committer | Brian McKenna <bmckenna@atlassian.com> | 2016-11-08 10:55:13 +1100 |
commit | c950840544f0a6fdf260692e67245f5c2028ce4d (patch) | |
tree | 30ffa1f05d0b669aebe0515a5c2356aa481b3652 /pkgs/applications/video/motion | |
parent | 0e78ed82bfe660ac3ef7ff343527dc47d9536468 (diff) | |
download | nixpkgs-c950840544f0a6fdf260692e67245f5c2028ce4d.tar nixpkgs-c950840544f0a6fdf260692e67245f5c2028ce4d.tar.gz nixpkgs-c950840544f0a6fdf260692e67245f5c2028ce4d.tar.bz2 nixpkgs-c950840544f0a6fdf260692e67245f5c2028ce4d.tar.lz nixpkgs-c950840544f0a6fdf260692e67245f5c2028ce4d.tar.xz nixpkgs-c950840544f0a6fdf260692e67245f5c2028ce4d.tar.zst nixpkgs-c950840544f0a6fdf260692e67245f5c2028ce4d.zip |
motion: init at 4.0.1
Diffstat (limited to 'pkgs/applications/video/motion')
-rw-r--r-- | pkgs/applications/video/motion/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/video/motion/default.nix b/pkgs/applications/video/motion/default.nix new file mode 100644 index 00000000000..d5215488707 --- /dev/null +++ b/pkgs/applications/video/motion/default.nix @@ -0,0 +1,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 ]; + }; +} |