2021-01-17 02:09:27 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2020-11-16 21:41:52 +00:00
|
|
|
, gettext
|
|
|
|
, libexif
|
|
|
|
, libgphoto2
|
|
|
|
, libjpeg
|
|
|
|
, libtool
|
|
|
|
, popt
|
|
|
|
, readline
|
2008-09-22 18:06:31 +01:00
|
|
|
}:
|
2006-01-31 14:22:08 +00:00
|
|
|
|
2007-11-16 17:28:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-11-16 21:41:52 +00:00
|
|
|
pname = "gphoto2";
|
2021-02-23 04:08:36 +00:00
|
|
|
version = "2.5.27";
|
2013-04-20 11:44:05 +01:00
|
|
|
|
2020-11-16 21:41:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gphoto";
|
|
|
|
repo = "gphoto2";
|
|
|
|
rev = "v${version}";
|
2021-02-23 04:08:36 +00:00
|
|
|
sha256 = "sha256-zzlyA2IedyBZ4/TdSmrqbe2le8rFMQ6tY6jF5skJ7l4=";
|
2006-01-31 14:22:08 +00:00
|
|
|
};
|
2013-04-20 11:44:05 +01:00
|
|
|
|
2020-11-16 21:41:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2020-11-16 21:41:52 +00:00
|
|
|
gettext
|
|
|
|
libtool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libexif
|
|
|
|
libgphoto2
|
|
|
|
libjpeg
|
|
|
|
popt
|
|
|
|
readline
|
|
|
|
];
|
2013-04-20 11:44:05 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-20 11:53:46 +01:00
|
|
|
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..
|
|
|
|
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.gphoto.org/";
|
2017-03-23 01:52:41 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.jcumming ];
|
2008-01-30 19:49:42 +00:00
|
|
|
};
|
2006-01-31 14:22:08 +00:00
|
|
|
}
|