26 lines
607 B
Nix
26 lines
607 B
Nix
{ stdenv, fetchPypi, buildPythonPackage
|
|
, pkgconfig
|
|
, libgphoto2 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gphoto2";
|
|
version = "2.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "118zm25c8mlajfl0pzssnwz4b8lamj9dgymla9rn4nla7l244a0r";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|