biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pyobihai / default.nix
blob5a899e6987951bc1b0fc3cc5fb64c8af075d6a12
2   lib,
3   buildPythonPackage,
4   defusedxml,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   requests,
9 }:
11 buildPythonPackage rec {
12   pname = "pyobihai";
13   version = "1.4.2";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "ejpenney";
20     repo = pname;
21     rev = "refs/tags/${version}";
22     hash = "sha256-tDPu/ceH7+7AnxokADDfl+G56B0+ri8RxXxXEyWa61Q=";
23   };
25   propagatedBuildInputs = [
26     defusedxml
27     requests
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "pyobihai" ];
34   meta = with lib; {
35     description = "Module to interact with Obihai devices";
36     homepage = "https://github.com/ejpenney/pyobihai";
37     changelog = "https://github.com/ejpenney/pyobihai/releases/tag/${version}";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40   };