nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 42 lines 904 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "aiopvapi"; 12 version = "3.3.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "sander76"; 17 repo = "aio-powerview-api"; 18 tag = "v${version}"; 19 hash = "sha256-yystaH2HRsJoYh2aTpOBA7DLiC2xwpBUccHwmJ0FlaY="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ aiohttp ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "aiopvapi" ]; 29 30 disabledTests = [ 31 # AssertionError 32 "test_remove_shade_from_scene" 33 ]; 34 35 meta = { 36 description = "Python API for the PowerView API"; 37 homepage = "https://github.com/sander76/aio-powerview-api"; 38 changelog = "https://github.com/sander76/aio-powerview-api/releases/tag/${src.tag}"; 39 license = lib.licenses.bsd3; 40 maintainers = with lib.maintainers; [ fab ]; 41 }; 42}