3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/motion/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
689 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, ffmpeg, libjpeg, libmicrohttpd }:
stdenv.mkDerivation rec {
pname = "motion";
version = "4.2.2";
src = fetchFromGitHub {
owner = "Motion-Project";
repo = "motion";
rev = "release-${version}";
sha256 = "05c1gx75xy2hw49x6vkydvwxbr80kipsc3nr906k3hq8735svx6f";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ffmpeg libjpeg libmicrohttpd ];
meta = with stdenv.lib; {
description = "Monitors the video signal from cameras";
homepage = https://motion-project.github.io/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ puffnfresh veprbl ];
};
}