diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2020-08-02 00:29:54 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-01 18:01:14 -0700 |
commit | 1930604312bb5155421115cec4c9e9189eefeace (patch) | |
tree | ea583f729da6d84ca3b50b0857492a125425c690 /pkgs/development/python-modules/pyipp | |
parent | 25ac3f0f0897a715c769c82979fd9a4056f69c41 (diff) |
python3Packages.pyipp: init at 0.10.1
Also regenerate home-assistant component packages.
Diffstat (limited to 'pkgs/development/python-modules/pyipp')
-rw-r--r-- | pkgs/development/python-modules/pyipp/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyipp/default.nix b/pkgs/development/python-modules/pyipp/default.nix new file mode 100644 index 0000000000000..cf6b67c548b61 --- /dev/null +++ b/pkgs/development/python-modules/pyipp/default.nix @@ -0,0 +1,40 @@ +{ lib, buildPythonPackage, fetchFromGitHub, isPy27 +, aiohttp, deepmerge, yarl +, aresponses, pytest, pytest-asyncio, pytestcov }: + +buildPythonPackage rec { + pname = "pyipp"; + version = "0.10.1"; + disabled = isPy27; + + src = fetchFromGitHub { + owner = "ctalkington"; + repo = "python-ipp"; + rev = version; + sha256 = "0y9mkrx66f4m77jzfgdgmvlqismvimb6hm61j2va7zapm8dyabvr"; + }; + + propagatedBuildInputs = [ + aiohttp + deepmerge + yarl + ]; + + checkInputs = [ + aresponses + pytest + pytest-asyncio + pytestcov + ]; + + checkPhase = '' + pytest -q . + ''; + + meta = with lib; { + description = "Asynchronous Python client for Internet Printing Protocol (IPP)"; + homepage = "https://github.com/ctalkington/python-ipp"; + license = licenses.mit; + maintainers = with maintainers; [ hexa ]; + }; +} |