Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
890 B · 47 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, poetry-core, pytest-aiohttp, pytestCheckHook, pythonOlder, voluptuous, vcrpy}:
buildPythonPackage rec { pname = "python-awair"; version = "0.2.4"; format = "pyproject"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "ahayworth"; repo = "python_awair"; rev = version; hash = "sha256-zdZyA6adM4bfEYupdZl7CzMjwyfRkQBrntNh0MusynE="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiohttp voluptuous ];
nativeCheckInputs = [ pytest-aiohttp pytestCheckHook vcrpy ];
pythonImportsCheck = [ "python_awair" ];
meta = with lib; { description = "Python library for the Awair API"; homepage = "https://github.com/ahayworth/python_awair"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}