1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/applications/misc/gphoto2/gphotofs.nix
2013-04-20 12:44:05 +02:00

34 lines
647 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 libtool
];
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
];
platforms = [
"i686-linux" "x86_64-linux"
];
};
}