nixpkgs/pkgs/applications/misc/gphoto2/default.nix
2018-02-26 12:45:39 +02:00

29 lines
874 B
Nix

{ stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt, gettext
, libjpeg, readline, libtool
}:
stdenv.mkDerivation rec {
name = "gphoto2-2.5.15";
src = fetchurl {
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
sha256 = "0xsa12k5fz49v8y4h3zahzr427a3ylxaf0k7hybrkp43g4i1lmxf";
};
nativeBuildInputs = [ pkgconfig gettext libtool ];
buildInputs = [ libgphoto2 libexif popt libjpeg readline ];
meta = with stdenv.lib; {
description = "A ready to use set of digital camera software applications";
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/;
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.jcumming ];
};
}