2020-04-10 20:58:46 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-03-16 18:38:42 +00:00
|
|
|
, sane-backends
|
2020-04-10 20:58:46 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sane";
|
2021-01-05 16:46:13 +00:00
|
|
|
version = "2.9.1";
|
2020-04-10 20:58:46 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "python-sane";
|
2021-01-05 16:46:13 +00:00
|
|
|
sha256 = "JAmOuDxujhsBEm5q16WwR5wHsBPF0iBQm1VYkv5JJd4=";
|
2020-04-10 20:58:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-03-16 18:38:42 +00:00
|
|
|
sane-backends
|
2020-04-10 20:58:46 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/python-pillow/Sane";
|
|
|
|
description = "Python interface to the SANE scanner and frame grabber ";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
|
|
};
|
|
|
|
}
|