python3Packages.pyobihai: init at 1.3.1

This commit is contained in:
Fabian Affolter 2021-05-15 23:33:29 +02:00
parent 06d8a6f99d
commit d5998fd272
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pyobihai";
version = "1.3.1";
disabled = pythonOlder "3.6";
# GitHub release, https://github.com/dshokouhi/pyobihai/issues/10
src = fetchPypi {
inherit pname version;
sha256 = "1vvf5if57dfd091a7fb5rvx63hvf0isrx28j72nj2aav1as460qp";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyobihai" ];
meta = with lib; {
description = "Python package to interact with Obihai devices";
homepage = "https://github.com/dshokouhi/pyobihai";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5911,6 +5911,8 @@ in {
pynzb = callPackage ../development/python-modules/pynzb { };
pyobihai = callPackage ../development/python-modules/pyobihai { };
pyocr = callPackage ../development/python-modules/pyocr {
tesseract = pkgs.tesseract4;
};