Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
965 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "aiopvapi"; version = "3.1.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "sander76"; repo = "aio-powerview-api"; tag = "v${version}"; hash = "sha256-WtTqtVr1oL86dpsAIK55pbXWU4X/cajVLlggd6hfM4c="; };
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aiopvapi" ];
disabledTests = [ # AssertionError "test_remove_shade_from_scene" ];
meta = with lib; { description = "Python API for the PowerView API"; homepage = "https://github.com/sander76/aio-powerview-api"; changelog = "https://github.com/sander76/aio-powerview-api/releases/tag/v${version}"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; };}