Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchPypi, buildPythonPackage 2, pkg-config 3, libgphoto2 }: 4 5buildPythonPackage rec { 6 pname = "gphoto2"; 7 version = "2.3.4"; 8 9 src = fetchPypi { 10 inherit pname version; 11 hash = "sha256-mEbF/fOtw0cU/bx7DgQcmmJ/yqal8Hs/1KaLGC3e4/c="; 12 }; 13 14 nativeBuildInputs = [ pkg-config ]; 15 16 buildInputs = [ libgphoto2 ]; 17 18 doCheck = false; # No tests available 19 20 meta = with 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}