nixpkgs/pkgs/applications/misc/gphoto2/default.nix

30 lines
874 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt, gettext
, libjpeg, readline, libtool
}:
stdenv.mkDerivation rec {
2017-03-23 01:52:41 +00:00
name = "gphoto2-2.5.11";
src = fetchurl {
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
2017-03-23 01:52:41 +00:00
sha256 = "1sgr6rsvzzagcwhc8fxbnvz3k02wr2hab0vrbvcb04k5l3b48a1r";
};
2017-03-23 01:52:41 +00:00
nativeBuildInputs = [ pkgconfig gettext libtool ];
buildInputs = [ libgphoto2 libexif popt libjpeg readline ];
2017-03-23 01:52:41 +00:00
meta = with stdenv.lib; {
description = "A ready to use set of digital camera software applications";
2012-10-21 04:59:25 +00: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 ];
};
}