nixpkgs/pkgs/development/libraries/libgphoto2/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

15 lines
351 B
Nix

{stdenv, fetchurl, pkgconfig, libusb}:
stdenv.mkDerivation {
name = "libgphoto2-2.2.1";
src = fetchurl {
url = mirror://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];
}