Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
940 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, async-timeout, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pytest-cov-stub, pythonOlder, tenacity,}:
buildPythonPackage rec { pname = "aiokef"; version = "0.2.17"; format = "setuptools"; disabled = pythonOlder "3.7";
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 = with lib; { description = "Python API for KEF speakers"; homepage = "https://github.com/basnijholt/aiokef"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}