Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 63 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, aiohttp, aresponses, buildPythonPackage, fetchFromGitHub, numpy, poetry-core, pysmb, pytest-aiohttp, pytest-asyncio, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pyairvisual"; version = "2022.12.1"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "bachya"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-xzTho4HsIU2YLURz9DfFfaRL3tsrtVi8n5IA2bRkyzw="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiohttp numpy pysmb ];
nativeCheckInputs = [ aresponses pytest-aiohttp pytest-asyncio pytestCheckHook pytestCheckHook ];
disabledTestPaths = [ # Ignore the examples directory as the files are prefixed with test_. "examples/" ];
pythonImportsCheck = [ "pyairvisual" ];
meta = with lib; { description = "Python library for interacting with AirVisual"; homepage = "https://github.com/bachya/pyairvisual"; changelog = "https://github.com/bachya/pyairvisual/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}