nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 async-timeout,
5 buildPythonPackage,
6 fetchFromGitHub,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "pyemby";
12 version = "1.10";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "mezz64";
17 repo = "pyemby";
18 tag = version;
19 hash = "sha256-+A/SNMCUqo9TwWsQXwOKJCqmYhbilIdHYazLNQY+NkU=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 aiohttp
26 async-timeout
27 ];
28
29 # Module has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "pyemby" ];
33
34 meta = {
35 description = "Python library to interface with the Emby API";
36 homepage = "https://github.com/mezz64/pyemby";
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ fab ];
39 };
40}