about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/gphoto2/gphotofs.nix
blob: 0f1e60ff016535e64d7b1b00ed0b5cbcc6f7ac2b (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
{ lib, stdenv, fetchurl, libtool, pkg-config, libgphoto2, fuse, glib }:

stdenv.mkDerivation rec {
  pname = "gphoto2fs";
  version = "0.5.0";
  src = fetchurl {
    url="mirror://sourceforge/gphoto/gphotofs/${version}/gphotofs-0.5.tar.bz2";
    sha256 = "1k23ncbsbh64r7kz050bg31jqamchyswgg9izhzij758d7gc8vk7";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [
    libgphoto2 fuse glib libtool
  ];

  meta = with lib; {
    description = "Fuse FS to mount a digital camera";
    mainProgram = "gphotofs";
    homepage = "http://www.gphoto.org/";
    maintainers = [ maintainers.raskin ];
    platforms = platforms.linux;
    license = with licenses; [ lgpl2 gpl2 ];
  };
}