3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/gphoto2/default.nix

51 lines
995 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
, gettext
, libexif
, libgphoto2
, libjpeg
, libtool
, popt
, readline
}:
stdenv.mkDerivation rec {
pname = "gphoto2";
2021-02-23 04:08:36 +00:00
version = "2.5.27";
src = fetchFromGitHub {
owner = "gphoto";
repo = "gphoto2";
rev = "v${version}";
2021-02-23 04:08:36 +00:00
sha256 = "sha256-zzlyA2IedyBZ4/TdSmrqbe2le8rFMQ6tY6jF5skJ7l4=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
gettext
libtool
];
buildInputs = [
libexif
libgphoto2
libjpeg
popt
readline
];
meta = with lib; {
description = "A ready to use set of digital camera software applications";
2012-10-21 05:59:25 +01:00
longDescription = ''
A set of command line utilities for manipulating over 1400 different
digital cameras. Through libgphoto2, it supports PTP, MTP, and much more..
'';
homepage = "http://www.gphoto.org/";
2017-03-23 01:52:41 +00:00
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.jcumming ];
};
}