17 buildPythonPackage rec {
18 pname = "pyairvisual";
19 version = "2023.12.0";
22 disabled = pythonOlder "3.10";
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-uN31LeHYmg4V6Ln3EQp765nOsN5v56TxjYSS/g6TUCY=";
35 propagatedBuildInputs = [
43 # this lets tests bind to localhost in sandbox mode on macOS
44 __darwinAllowLocalNetworking = true;
55 # Ignore the examples directory as the files are prefixed with test_.
59 pythonImportsCheck = [
64 description = "Python library for interacting with AirVisual";
65 homepage = "https://github.com/bachya/pyairvisual";
66 changelog = "https://github.com/bachya/pyairvisual/releases/tag/${version}";
67 license = with licenses; [ mit ];
68 maintainers = with maintainers; [ fab ];