nixpkgs/pkgs/development/libraries/libgphoto2/default.nix
Armijn Hemel 733b2893a7 update to 2.4.10.1, add correct license
svn path=/nixpkgs/trunk/; revision=23506
2010-08-29 13:40:02 +00:00

22 lines
624 B
Nix

{stdenv, fetchurl, pkgconfig, libusb, libtool, libexif, libjpeg, gettext}:
stdenv.mkDerivation rec {
name = "libgphoto2-2.4.10.1";
src = fetchurl {
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
sha256 = "12m99hcak59ppq1ijnfsrcm09mdj102f1xjmz4myggwjdymwc3lq";
};
buildInputs = [pkgconfig libtool libjpeg gettext];
# These are mentioned in the Requires line of libgphoto's pkg-config file.
propagatedBuildInputs = [libusb libexif];
meta = {
homepage = http://www.gphoto.org/proj/libgphoto2/;
description = "A library for accessing digital cameras";
license = "LGPL 2.1";
};
}