Skip to content

Commit

Permalink
python3Packages.pyipp: init at 0.10.1
Browse files Browse the repository at this point in the history
Also regenerate home-assistant component packages.
  • Loading branch information
mweinelt authored and Jon committed Aug 2, 2020
1 parent 25ac3f0 commit 1930604
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
40 changes: 40 additions & 0 deletions pkgs/development/python-modules/pyipp/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@
"iota" = ps: with ps; [ ]; # missing inputs: pyota
"iperf3" = ps: with ps; [ ]; # missing inputs: iperf3
"ipma" = ps: with ps; [ ]; # missing inputs: pyipma
"ipp" = ps: with ps; [ ]; # missing inputs: pyipp
"ipp" = ps: with ps; [ pyipp];
"iqvia" = ps: with ps; [ numpy]; # missing inputs: pyiqvia
"irish_rail_transport" = ps: with ps; [ ]; # missing inputs: pyirishrail
"islamic_prayer_times" = ps: with ps; [ ]; # missing inputs: prayer_times_calculator
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5543,6 +5543,8 @@ in {

pyinotify = callPackage ../development/python-modules/pyinotify { };

pyipp = callPackage ../development/python-modules/pyipp { };

pyjwt = callPackage ../development/python-modules/pyjwt { };

pykickstart = callPackage ../development/python-modules/pykickstart { };
Expand Down

0 comments on commit 1930604

Please sign in to comment.