1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 21:54:10 +00:00
nixpkgs/pkgs/applications/video/motion/default.nix

27 lines
721 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
2020-07-16 04:47:54 +01:00
, ffmpeg, libjpeg, libmicrohttpd }:
2016-11-07 00:38:23 +00:00
stdenv.mkDerivation rec {
pname = "motion";
2020-10-30 16:12:37 +00:00
version = "4.3.2";
2017-12-30 05:17:17 +00:00
2016-11-07 00:38:23 +00:00
src = fetchFromGitHub {
2018-11-04 11:51:27 +00:00
owner = "Motion-Project";
repo = "motion";
2020-07-16 04:47:20 +01:00
rev = "release-${version}";
2020-10-30 16:12:37 +00:00
sha256 = "09xs815jsivcilpmnrx2jkcxirj4lg5kp99fkr0p2sdxw03myi95";
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 ];
2018-11-04 11:51:27 +00:00
2020-07-16 04:47:54 +01:00
buildInputs = [ ffmpeg libjpeg libmicrohttpd ];
2017-12-30 05:17:17 +00:00
meta = with lib; {
2016-11-07 00:38:23 +00:00
description = "Monitors the video signal from cameras";
homepage = "https://motion-project.github.io/";
2016-11-07 00:38:23 +00:00
license = licenses.gpl2Plus;
2018-12-15 16:28:34 +00:00
maintainers = with maintainers; [ puffnfresh veprbl ];
2020-07-16 04:48:07 +01:00
platforms = platforms.unix;
2016-11-07 00:38:23 +00:00
};
}