2020-11-16 22:41:52 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
|
|
|
, gettext
|
|
|
|
, libexif
|
|
|
|
, libgphoto2
|
|
|
|
, libjpeg
|
|
|
|
, libtool
|
|
|
|
, popt
|
|
|
|
, readline
|
2008-09-22 19:06:31 +02:00
|
|
|
}:
|
2006-01-31 15:22:08 +01:00
|
|
|
|
2007-11-16 18:28:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2020-11-16 22:41:52 +01:00
|
|
|
pname = "gphoto2";
|
|
|
|
version = "2.5.26";
|
2013-04-20 12:44:05 +02:00
|
|
|
|
2020-11-16 22:41:52 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gphoto";
|
|
|
|
repo = "gphoto2";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1w01j3qvjl2nlfs38rnsmjvn3r0r2xf7prxz1i6yarbpj3fzwqqc";
|
2006-01-31 15:22:08 +01:00
|
|
|
};
|
2013-04-20 12:44:05 +02:00
|
|
|
|
2020-11-16 22:41:52 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkgconfig
|
|
|
|
gettext
|
|
|
|
libtool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libexif
|
|
|
|
libgphoto2
|
|
|
|
libjpeg
|
|
|
|
popt
|
|
|
|
readline
|
|
|
|
];
|
2013-04-20 12:44:05 +02:00
|
|
|
|
2017-03-23 02:52:41 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "A ready to use set of digital camera software applications";
|
2012-10-21 06:59:25 +02: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 03:11:51 +02:00
|
|
|
homepage = "http://www.gphoto.org/";
|
2017-03-23 02:52:41 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.jcumming ];
|
2008-01-30 20:49:42 +01:00
|
|
|
};
|
2006-01-31 15:22:08 +01:00
|
|
|
}
|