at master 566 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 sane-backends, 6}: 7 8buildPythonPackage rec { 9 pname = "sane"; 10 version = "2.9.1"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "python-sane"; 16 sha256 = "JAmOuDxujhsBEm5q16WwR5wHsBPF0iBQm1VYkv5JJd4="; 17 }; 18 19 buildInputs = [ sane-backends ]; 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}