Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, aiohttp, aresponses, buildPythonPackage, fetchFromGitHub, hatchling, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "aioweenect"; version = "1.1.5"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "eifinger"; repo = "aioweenect"; tag = "v${version}"; hash = "sha256-2qTjRXQdTExqY5/ckB6UrkmavzjZK/agfL9+o6fXS0M="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "--asyncio-mode=auto" "" '';
pythonRelaxDeps = [ "aiohttp" ];
build-system = [ hatchling ];
dependencies = [ aiohttp ];
nativeCheckInputs = [ aresponses pytest-asyncio pytest-cov-stub pytestCheckHook ];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "aioweenect" ];
meta = with lib; { description = "Library for the weenect API"; homepage = "https://github.com/eifinger/aioweenect"; changelog = "https://github.com/eifinger/aioweenect/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}