about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sane/default.nix
blob: b02feb9e2192e5ed4655395fad9c305972b0983d (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";

  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 ];
  };
}