2018-03-09 09:21:44 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage
|
|
|
|
, pkgconfig
|
|
|
|
, libgphoto2 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gphoto2";
|
2018-11-09 08:15:32 +00:00
|
|
|
version = "1.8.5";
|
2018-03-09 09:21:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-09 08:15:32 +00:00
|
|
|
sha256 = "1jvwq7qjr2iazmwdzkmr82iza7snylpm6x0kr9p0z5mkicg1l38l";
|
2018-03-09 09:21:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ libgphoto2 ];
|
|
|
|
|
|
|
|
doCheck = false; # No tests available
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python interface to libgphoto2";
|
|
|
|
homepage = https://github.com/jim-easterbrook/python-gphoto2;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ jfrankenau ];
|
|
|
|
};
|
|
|
|
}
|