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
10 lines
293 B
Nix
10 lines
293 B
Nix
{stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gphoto2-2.2.0";
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/gphoto/gphoto2-2.2.0.tar.bz2;
|
|
md5 = "f5c1f83185db598b4ca52889964a5e84";
|
|
};
|
|
buildInputs = [pkgconfig libgphoto2 libexif popt];
|
|
}
|