27 lines
540 B
Nix
27 lines
540 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, saneBackends
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sane";
|
|
version = "2.9.1";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "python-sane";
|
|
sha256 = "JAmOuDxujhsBEm5q16WwR5wHsBPF0iBQm1VYkv5JJd4=";
|
|
};
|
|
|
|
buildInputs = [
|
|
saneBackends
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|