summary refs log tree commit diff
path: root/pkgs/applications/misc/gphoto2/gphotofs.nix
blob: 32c95ec147bdf7cd29e8662dee8994dfebceef45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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"
    ];
  };
}