607b0d3e80
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
15 lines
351 B
Nix
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];
|
|
}
|