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, poetry-core, pytest-aiohttp, pytest-asyncio, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pytile"; version = "2023.04.0"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "bachya"; repo = pname; rev = version; hash = "sha256-SFHWhXKC7PIqanJIQyGcpM8klwxOAJPVtzk9w0i2YYA="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiohttp ];
nativeCheckInputs = [ aresponses pytest-aiohttp pytest-asyncio pytestCheckHook ];
disabledTestPaths = [ # Ignore the examples as they are prefixed with test_ "examples/" ];
pythonImportsCheck = [ "pytile" ];
__darwinAllowLocalNetworking = true;
meta = with lib; { description = " Python API for Tile Bluetooth trackers"; longDescription = '' pytile is a simple Python library for retrieving information on Tile Bluetooth trackers (including last location and more). ''; homepage = "https://github.com/bachya/pytile"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}