nixpkgs-suyu/pkgs/applications/misc/gphoto2/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1 KiB
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
, gettext
, libexif
, libgphoto2
, libjpeg
, libtool
, popt
, readline
}:
stdenv.mkDerivation rec {
pname = "gphoto2";
2022-01-12 22:04:59 +01:00
version = "2.5.28";
src = fetchFromGitHub {
owner = "gphoto";
repo = "gphoto2";
rev = "v${version}";
2022-01-12 22:04:59 +01:00
sha256 = "sha256-t5EnM4WaDbOTPM+rJW+hQxBgNErnnZEN9lZvxTKoDhA=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
gettext
libtool
];
buildInputs = [
libexif
libgphoto2
libjpeg
popt
readline
];
meta = with lib; {
description = "A ready to use set of digital camera software applications";
2012-10-21 06:59:25 +02:00
longDescription = ''
A set of command line utilities for manipulating over 1400 different
digital cameras. Through libgphoto2, it supports PTP, MTP, and much more..
'';
homepage = "http://www.gphoto.org/";
2017-03-23 02:52:41 +01:00
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.jcumming ];
2024-02-11 03:19:15 +01:00
mainProgram = "gphoto2";
};
}