nixpkgs-suyu/pkgs/applications/misc/gphoto2/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

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];
}