nixpkgs/pkgs/development/libraries/libgphoto2/default.nix
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00

15 lines
376 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];
## remove this patch when 2.2.2 is released
patches = [./libgphoto2-2.2.1.patch];
}