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