nixpkgs-suyu/pkgs/development/python-modules/gphoto2/default.nix
2018-07-14 20:42:01 +02:00

26 lines
605 B
Nix

{ 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 ];
};
}