nixpkgs/pkgs/applications/misc/gphoto2/gphotofs.nix
Michael Raskin 4ba8f74591 Adding Gphoto2FS - filesystem for attached cameras
svn path=/nixpkgs/trunk/; revision=16841
2009-08-24 21:35:45 +00:00

31 lines
590 B
Nix

a :
let
fetchurl = a.fetchurl;
s = import ./src-info-for-gphotofs.nix;
version = a.lib.attrByPath ["version"] s.version a;
buildInputs = with a; [
libgphoto2 fuse pkgconfig glib
];
in
rec {
src = fetchurl {
url = s.url;
sha256 = s.hash;
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "gphoto2fs-" + version;
meta = {
description = "Fuse FS to mount a digital camera";
maintainers = [
a.lib.maintainers.raskin
];
};
}