nixpkgs/pkgs/development/python-modules/gphoto2/default.nix

27 lines
611 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage
, pkg-config
2018-03-09 09:21:44 +00:00
, libgphoto2 }:
buildPythonPackage rec {
pname = "gphoto2";
version = "2.2.4";
2018-03-09 09:21:44 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "48b4c4ab70826d3ddaaf7440564d513c02d78680fa690994b0640d383ffb8a7d";
2018-03-09 09:21:44 +00:00
};
nativeBuildInputs = [ pkg-config ];
2018-03-09 09:21:44 +00:00
buildInputs = [ libgphoto2 ];
doCheck = false; # No tests available
meta = with lib; {
2018-03-09 09:21:44 +00:00
description = "Python interface to libgphoto2";
homepage = "https://github.com/jim-easterbrook/python-gphoto2";
2018-03-09 09:21:44 +00:00
license = licenses.gpl3;
maintainers = with maintainers; [ jfrankenau ];
};
}