nixpkgs/pkgs/development/libraries/libgphoto2/default.nix

14 lines
330 B
Nix

{stdenv, fetchurl, pkgconfig, libusb}:
stdenv.mkDerivation {
name = "libgphoto2-2.2.1";
src = fetchurl {
url = http://surfnet.dl.sourceforge.net/sourceforge/gphoto/libgphoto2-2.2.1.tar.bz2;
md5 = "69827311733e39fafa9f77bb05e55b77";
};
buildInputs = [pkgconfig libusb];
patches = [./libgphoto2-2.2.1.patch];
}