Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / gphoto2 / default.nix
blob31ac03347cb2d8fb3fa12fda9f455e65b82ea9a2
1 { lib, fetchPypi, buildPythonPackage
2 , pkg-config
3 , libgphoto2 }:
5 buildPythonPackage rec {
6   pname = "gphoto2";
7   version = "2.2.4";
9   src = fetchPypi {
10     inherit pname version;
11     sha256 = "48b4c4ab70826d3ddaaf7440564d513c02d78680fa690994b0640d383ffb8a7d";
12   };
14   nativeBuildInputs = [ pkg-config ];
16   buildInputs = [ libgphoto2 ];
18   doCheck = false; # No tests available
20   meta = with 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   };