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

27 lines
617 B
Nix
Raw Normal View History

2018-03-09 10:21:44 +01:00
{ stdenv, fetchPypi, buildPythonPackage
, pkgconfig
, libgphoto2 }:
buildPythonPackage rec {
pname = "gphoto2";
2018-08-13 09:24:43 +02:00
version = "1.8.3";
2018-03-09 10:21:44 +01:00
src = fetchPypi {
inherit pname version;
2018-08-13 09:24:43 +02:00
sha256 = "0257f90f0d8342b8bc996ff1b45b2cd3219a29f8123aa21a6da159ee3566e49f";
2018-03-09 10:21:44 +01:00
};
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 ];
};
}