Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 26 lines 605 B view raw
1{ stdenv, fetchPypi, buildPythonPackage 2, pkgconfig 3, libgphoto2 }: 4 5buildPythonPackage rec { 6 pname = "gphoto2"; 7 version = "2.0.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "01vcbjsy5zpfd9rzshk2d6150vhb66m5n420j0wd0k0i0p74ya98"; 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}