summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sane/default.nix
blob: 41bae43c4b1e2b05142037f6a368e9a8c2b5b522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  lib,
  buildPythonPackage,
  fetchPypi,
  sane-backends,
}:

buildPythonPackage rec {
  pname = "sane";
  version = "2.9.1";
  format = "setuptools";

  src = fetchPypi {
    inherit version;
    pname = "python-sane";
    sha256 = "JAmOuDxujhsBEm5q16WwR5wHsBPF0iBQm1VYkv5JJd4=";
  };

  buildInputs = [ sane-backends ];

  meta = {
    homepage = "https://github.com/python-pillow/Sane";
    description = "Python interface to the SANE scanner and frame grabber";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ doronbehar ];
  };
}