2009-08-24 22:35:45 +01:00
|
|
|
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
|
|
|
|
];
|
2009-08-25 06:46:48 +01:00
|
|
|
platforms = [
|
|
|
|
"i686-linux" "x86_64-linux"
|
|
|
|
];
|
2009-08-24 22:35:45 +01:00
|
|
|
};
|
|
|
|
}
|