pythonPackages.gphoto2: init at 1.8.2

This commit is contained in:
Johannes Frankenau 2018-03-09 10:21:44 +01:00
parent e78a7579f7
commit 93f4bd878f
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchPypi, buildPythonPackage
, pkgconfig
, libgphoto2 }:
buildPythonPackage rec {
pname = "gphoto2";
version = "1.8.2";
src = fetchPypi {
inherit pname version;
sha256 = "1806bdjc18qh0wyayxymgjnqqqlxs2iwvgk594anxw9y69hrxqni";
};
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 ];
};
}

View File

@ -6263,6 +6263,10 @@ in {
gpgme = toPythonModule (pkgs.gpgme.override { withPython=true; });
gphoto2 = callPackage ../development/python-modules/gphoto2 {
inherit (pkgs) pkgconfig;
};
grammalecte = callPackage ../development/python-modules/grammalecte { };
greenlet = callPackage ../development/python-modules/greenlet { };