1{ lib
2, aiohttp
3, async-timeout
4, buildPythonPackage
5, fetchFromGitHub
6}:
7
8buildPythonPackage rec {
9 pname = "pyemby";
10 version = "1.8";
11
12 src = fetchFromGitHub {
13 owner = "mezz64";
14 repo = pname;
15 rev = version;
16 sha256 = "sha256-EpmXdyKtfb/M8rTv6YrfNCpDmKei2AD5DBcdVvqCVWw=";
17 };
18
19 propagatedBuildInputs = [
20 aiohttp
21 async-timeout
22 ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "pyemby" ];
28
29 meta = with lib; {
30 description = "Python library to interface with the Emby API";
31 homepage = "https://github.com/mezz64/pyemby";
32 license = with licenses; [ mit ];
33 maintainers = with maintainers; [ fab ];
34 };
35}