python.pkgs.sane: init at 2.8.2

This commit is contained in:
Doron Behar 2020-04-10 22:58:46 +03:00
parent 7d75a77954
commit 5d7ef923cb
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, saneBackends
}:
buildPythonPackage rec {
pname = "sane";
version = "2.8.2";
src = fetchPypi {
inherit version;
pname = "python-sane";
sha256 = "0sri01h9sld6w7vgfhwp29n5w19g6idz01ba2giwnkd99k1y2iqg";
};
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 ];
};
}

View file

@ -6452,6 +6452,10 @@ in {
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
sane = callPackage ../development/python-modules/sane {
inherit (pkgs) saneBackends;
};
sampledata = callPackage ../development/python-modules/sampledata { };
samplerate = callPackage ../development/python-modules/samplerate { };