summary refs log tree commit diff
path: root/pkgs/applications/video/motion
diff options
context:
space:
mode:
authorBrian McKenna <bmckenna@atlassian.com>2016-11-07 11:38:23 +1100
committerBrian McKenna <bmckenna@atlassian.com>2016-11-08 10:55:13 +1100
commitc950840544f0a6fdf260692e67245f5c2028ce4d (patch)
tree30ffa1f05d0b669aebe0515a5c2356aa481b3652 /pkgs/applications/video/motion
parent0e78ed82bfe660ac3ef7ff343527dc47d9536468 (diff)
downloadnixpkgs-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.nix20
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 ];
+  };
+}