Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies aiohttp, requests, pytz,
# tests mock, pytest-aiohttp, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage rec { pname = "pyindego"; version = "3.2.1"; pyproject = true;
src = fetchFromGitHub { owner = "jm-73"; repo = "pyIndego"; rev = "refs/tags/${version}"; hash = "sha256-wPQocacWwWjEH4boMZ33aW/NPvdD6LSmMTFXGwBwwq8="; };
postPatch = '' sed -i "/addopts/d" pytest.ini '';
build-system = [ setuptools ];
dependencies = [ aiohttp requests pytz ];
nativeCheckInputs = [ mock pytest-aiohttp pytest-asyncio pytestCheckHook ];
disabledTests = [ # Typeerror, presumably outdated tests "test_repr" "test_client_response_errors" "test_update_battery" ];
pythonImportsCheck = [ "pyIndego" ];
meta = with lib; { description = "Python interface for Bosch API for lawnmowers"; homepage = "https://github.com/jm-73/pyIndego"; changelog = "https://github.com/jm-73/pyIndego/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; };}