2018-03-09 09:21:44 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage
|
|
|
|
, pkgconfig
|
|
|
|
, libgphoto2 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gphoto2";
|
2020-04-13 11:34:41 +01:00
|
|
|
version = "2.2.2";
|
2018-03-09 09:21:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-13 11:34:41 +01:00
|
|
|
sha256 = "0sd3w0gpnb58hg8mv20nfqf4g1plr9rkn51h088xdsd6i97r9x99";
|
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";
|
2020-02-26 22:27:55 +00:00
|
|
|
homepage = "https://github.com/jim-easterbrook/python-gphoto2";
|
2018-03-09 09:21:44 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ jfrankenau ];
|
|
|
|
};
|
|
|
|
}
|