depot/third_party/nixpkgs/pkgs/applications/video/motion/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

28 lines
844 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
, ffmpeg, libjpeg, libmicrohttpd }:
stdenv.mkDerivation rec {
pname = "motion";
version = "4.5.1";
src = fetchFromGitHub {
owner = "Motion-Project";
repo = "motion";
rev = "release-${version}";
sha256 = "sha256-3TmmLAU/muiI90hrYrctzgVbWS4rXjxzAa0ctVYKSSY=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ ffmpeg libjpeg libmicrohttpd ];
meta = with lib; {
description = "Monitors the video signal from cameras";
homepage = "https://motion-project.github.io/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ puffnfresh veprbl ];
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}