Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 26 lines 607 B view raw
1{ stdenv, fetchPypi, buildPythonPackage 2, pkgconfig 3, libgphoto2 }: 4 5buildPythonPackage rec { 6 pname = "gphoto2"; 7 version = "2.2.2"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0sd3w0gpnb58hg8mv20nfqf4g1plr9rkn51h088xdsd6i97r9x99"; 12 }; 13 14 nativeBuildInputs = [ pkgconfig ]; 15 16 buildInputs = [ libgphoto2 ]; 17 18 doCheck = false; # No tests available 19 20 meta = with stdenv.lib; { 21 description = "Python interface to libgphoto2"; 22 homepage = "https://github.com/jim-easterbrook/python-gphoto2"; 23 license = licenses.gpl3; 24 maintainers = with maintainers; [ jfrankenau ]; 25 }; 26}