Something went wrong. Try again.
lol
Something went wrong. Try again.
903 B · 46 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, hatchling, bluetooth-data-tools, httpx, pytest-asyncio, pytest-httpx, pytestCheckHook,}:
buildPythonPackage rec { pname = "aioruuvigateway"; version = "0.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "akx"; repo = "aioruuvigateway"; tag = "v${version}"; hash = "sha256-Etv+kPFYEK79hpDeNmDfuyNj1vJ6udry1u+TRO5gLV4="; };
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ bluetooth-data-tools httpx ];
nativeCheckInputs = [ pytest-asyncio pytest-httpx pytestCheckHook ];
pythonImportsCheck = [ "aioruuvigateway" ];
meta = { description = "Asyncio-native library for requesting data from a Ruuvi Gateway"; homepage = "https://github.com/akx/aioruuvigateway"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; };}