9c6d255489
GitOrigin-RevId: 8133b9cb5f7c00d4fe31c8c2c4b525bc2650bfc0
26 lines
619 B
Nix
26 lines
619 B
Nix
{ stdenv, fetchPypi, buildPythonPackage
|
|
, pkgconfig
|
|
, libgphoto2 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gphoto2";
|
|
version = "2.2.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "35d3ae97a9f13526746fb506de627a73328328528b436a51567fcb7e640883e9";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|