nixpkgs/pkgs/applications/misc/gphoto2/gphotofs.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

25 lines
686 B
Nix

{ 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 ];
};
}