Something went wrong. Try again.
lol
Something went wrong. Try again.
891 B · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, async-timeout, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pytest-cov-stub, tenacity,}:
buildPythonPackage rec { pname = "aiokef"; version = "0.2.17"; format = "setuptools";
src = fetchFromGitHub { owner = "basnijholt"; repo = "aiokef"; rev = "v${version}"; sha256 = "0ms0dwrpj80w55svcppbnp7vyl5ipnjfp1c436k5c7pph4q5pxk9"; };
postPatch = '' substituteInPlace tox.ini \ --replace "--mypy" "" '';
propagatedBuildInputs = [ async-timeout tenacity ];
nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ];
enabledTestPaths = [ "tests" ]; pythonImportsCheck = [ "aiokef" ];
meta = { description = "Python API for KEF speakers"; homepage = "https://github.com/basnijholt/aiokef"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; };}