Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 53 lines 948 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 setuptools, 8 9 # dependencies 10 aiohttp, 11 mashumaro, 12 13 # tests 14 pytestCheckHook, 15 pytest-aiohttp, 16 pytest-cov-stub, 17}: 18 19buildPythonPackage rec { 20 pname = "aiojellyfin"; 21 version = "0.10.1"; 22 pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "Jc2k"; 26 repo = "aiojellyfin"; 27 rev = "refs/tags/v${version}"; 28 hash = "sha256-A+uvM1/7HntRMIdknfHr0TMGIjHk7BCwsZopXdVoEO8="; 29 }; 30 31 build-system = [ setuptools ]; 32 33 dependencies = [ 34 aiohttp 35 mashumaro 36 ]; 37 38 nativeCheckInputs = [ 39 pytestCheckHook 40 pytest-aiohttp 41 pytest-cov-stub 42 ]; 43 44 pythonImportsCheck = [ "aiojellyfin" ]; 45 46 meta = with lib; { 47 description = ""; 48 homepage = "https://github.com/Jc2k/aiojellyfin"; 49 changelog = "https://github.com/Jc2k/aiojellyfin/blob/${src.rev}/CHANGELOG.md"; 50 license = licenses.asl20; 51 maintainers = with maintainers; [ hexa ]; 52 }; 53}