1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/development/python-modules/sane/default.nix
Samuel Gräfenstein 9ce80206a1
treewide: saneBackends -> sane-backends
Fix building with `config.allowAliases = false;`.
2021-03-17 00:00:18 +01:00

28 lines
542 B
Nix

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