git.iko.soy/typeable/nixpkgs
on master help sign in
libgphoto2: use libusb1 version (fixes build)

Also, it's not mentioned in *.pc (anymore). CC maint. @jcumming.

commit1e7709b68dc102076ed5fded1471ef4963669e74 authorVladimír Čunát <vcunat@gmail.com> dateFri 14 Nov 2014, 11:23 (12 years ago) parentc6ba65c
1 file changed+7−6
pkgs/development/libraries/libgphoto2/default.nix+7−6
pkgs/development/libraries/libgphoto2/default.nix+7−6
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkgconfig, libusb, libtool, libexif, libjpeg, gettext}:
1+{ stdenv, fetchurl, pkgconfig, libusb1, libtool, libexif, libjpeg, gettext }:
22
33stdenv.mkDerivation rec {
44 name = "libgphoto2-${meta.version}";
@@ -7,12 +7,12 @@ stdenv.mkDerivation rec {
77 url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
88 sha256 = "0ij80nixichihv3iic7cgdq3irssk8waz1c25m6yypjl4kg6n3k0";
99 };
10−
10+
1111 nativeBuildInputs = [ pkgconfig gettext ];
12− buildInputs = [ libtool libjpeg ];
12+ buildInputs = [ libtool libjpeg libusb1 ];
1313
1414 # These are mentioned in the Requires line of libgphoto's pkg-config file.
15− propagatedBuildInputs = [ libusb libexif ];
15+ propagatedBuildInputs = [ libexif ];
1616
1717 meta = {
1818 homepage = http://www.gphoto.org/proj/libgphoto2/;
@@ -20,12 +20,13 @@ stdenv.mkDerivation rec {
2020 longDescription = ''
2121 This is the library backend for gphoto2. It contains the code for PTP,
2222 MTP, and other vendor specific protocols for controlling and transferring data
23− from digital cameras.
23+ from digital cameras.
2424 '';
2525 version = "2.5.5.1";
2626 # XXX: the homepage claims LGPL, but several src files are lgpl21Plus
27− license = stdenv.lib.licenses.lgpl21Plus;
27+ license = stdenv.lib.licenses.lgpl21Plus;
2828 platforms = with stdenv.lib.platforms; unix;
2929 maintainers = with stdenv.lib.maintainers; [ jcumming ];
3030 };
3131}
32+