at 24.05-pre 542 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, sane-backends 5}: 6 7buildPythonPackage rec { 8 pname = "sane"; 9 version = "2.9.1"; 10 11 src = fetchPypi { 12 inherit version; 13 pname = "python-sane"; 14 sha256 = "JAmOuDxujhsBEm5q16WwR5wHsBPF0iBQm1VYkv5JJd4="; 15 }; 16 17 buildInputs = [ 18 sane-backends 19 ]; 20 21 meta = with lib; { 22 homepage = "https://github.com/python-pillow/Sane"; 23 description = "Python interface to the SANE scanner and frame grabber "; 24 license = licenses.mit; 25 maintainers = with maintainers; [ doronbehar ]; 26 }; 27}