about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sane/default.nix
blob: 1b82f6039878efcecb91424598f172420539061e (plain) (blame)
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 = 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 ];
  };
}