nixpkgs/pkgs/development/python-modules/sane/default.nix

28 lines
540 B
Nix
Raw Normal View History

2020-04-10 21:58:46 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, saneBackends
}:
buildPythonPackage rec {
pname = "sane";
2021-01-05 17:46:13 +01:00
version = "2.9.1";
2020-04-10 21:58:46 +02:00
src = fetchPypi {
inherit version;
pname = "python-sane";
2021-01-05 17:46:13 +01:00
sha256 = "JAmOuDxujhsBEm5q16WwR5wHsBPF0iBQm1VYkv5JJd4=";
2020-04-10 21:58:46 +02:00
};
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 ];
};
}