mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
acd26a3353
svn path=/nixpkgs/branches/stdenv-updates/; revision=15267
22 lines
619 B
Nix
22 lines
619 B
Nix
{stdenv, fetchurl, pkgconfig, libusb, libtool, libexif, libjpeg, gettext}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libgphoto2-2.4.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
|
|
sha256 = "1pipdwjxbjg7y9n5ldz6qlpiiiqyba6jx315277ams5d8jxg2bfk";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|