1{ lib
2, aiohttp
3, aresponses
4, buildPythonPackage
5, deepmerge
6, fetchFromGitHub
7, pytest-asyncio
8, pytestCheckHook
9, pytest-cov
10, yarl
11}:
12
13buildPythonPackage rec {
14 pname = "pyipp";
15 version = "0.11.0";
16
17 src = fetchFromGitHub {
18 owner = "ctalkington";
19 repo = "python-ipp";
20 rev = version;
21 sha256 = "0ar3mkyfa9qi3av3885bvacpwlxh420if9ymdj8i4x06ymzc213d";
22 };
23
24 propagatedBuildInputs = [
25 aiohttp
26 deepmerge
27 yarl
28 ];
29
30 checkInputs = [
31 aresponses
32 pytest-asyncio
33 pytest-cov
34 pytestCheckHook
35 ];
36
37 pythonImportsCheck = [ "pyipp" ];
38
39 meta = with lib; {
40 description = "Asynchronous Python client for Internet Printing Protocol (IPP)";
41 homepage = "https://github.com/ctalkington/python-ipp";
42 license = licenses.mit;
43 maintainers = with maintainers; [ hexa ];
44 };
45}