1{ stdenv, fetchPypi, buildPythonPackage
2, pkgconfig
3, libgphoto2 }:
4
5buildPythonPackage rec {
6 pname = "gphoto2";
7 version = "1.9.0";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "9c8e0c3ca22c0a2bfd0f27d24be6e4da5fe315d39d51f5af7bb5da416dbfa4b7";
12 };
13
14 nativeBuildInputs = [ pkgconfig ];
15
16 buildInputs = [ libgphoto2 ];
17
18 doCheck = false; # No tests available
19
20 meta = with stdenv.lib; {
21 description = "Python interface to libgphoto2";
22 homepage = https://github.com/jim-easterbrook/python-gphoto2;
23 license = licenses.gpl3;
24 maintainers = with maintainers; [ jfrankenau ];
25 };
26}