2013-04-20 12:44:05 +02:00
|
|
|
a :
|
|
|
|
let
|
2009-08-24 23:35:45 +02:00
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
s = import ./src-info-for-gphotofs.nix;
|
|
|
|
|
2013-04-20 12:44:05 +02:00
|
|
|
version = a.lib.attrByPath ["version"] s.version a;
|
2009-08-24 23:35:45 +02:00
|
|
|
buildInputs = with a; [
|
2013-04-20 12:44:05 +02:00
|
|
|
libgphoto2 fuse pkgconfig glib libtool
|
2009-08-24 23:35:45 +02:00
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = s.url;
|
|
|
|
sha256 = s.hash;
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
2013-04-20 12:44:05 +02:00
|
|
|
|
2009-08-24 23:35:45 +02:00
|
|
|
name = "gphoto2fs-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Fuse FS to mount a digital camera";
|
|
|
|
maintainers = [
|
|
|
|
a.lib.maintainers.raskin
|
|
|
|
];
|
2009-08-25 07:46:48 +02:00
|
|
|
platforms = [
|
|
|
|
"i686-linux" "x86_64-linux"
|
|
|
|
];
|
2009-08-24 23:35:45 +02:00
|
|
|
};
|
|
|
|
}
|