mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Merge pull request #20229 from puffnfresh/package/motion
motion: init at 4.0.1
This commit is contained in:
commit
da5b4c4612
20
pkgs/applications/video/motion/default.nix
Normal file
20
pkgs/applications/video/motion/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -2382,6 +2382,8 @@ in
|
|||
|
||||
most = callPackage ../tools/misc/most { };
|
||||
|
||||
motion = callPackage ../applications/video/motion { };
|
||||
|
||||
mkcast = callPackage ../applications/video/mkcast { };
|
||||
|
||||
multitail = callPackage ../tools/misc/multitail { };
|
||||
|
|
Loading…
Reference in a new issue