Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 842e808a6928
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: eb0b2a0c230b
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Jan 17, 2021

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    starcraft66 Tristan
    Copy the full SHA
    6075050 View commit details
  2. Copy the full SHA
    6bc75a7 View commit details
  3. Copy the full SHA
    eb0b2a0 View commit details
Showing with 40 additions and 1 deletion.
  1. +37 −0 pkgs/development/python-modules/roombapy/default.nix
  2. +1 −1 pkgs/servers/home-assistant/component-packages.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
37 changes: 37 additions & 0 deletions pkgs/development/python-modules/roombapy/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ buildPythonPackage
, fetchFromGitHub
, hbmqtt
, lib
, paho-mqtt
, poetry
, pytest-asyncio
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "roombapy";
version = "1.6.2-1";

src = fetchFromGitHub {
owner = "pschmitt";
repo = "roombapy";
rev = version;
sha256 = "14k7bys479xwpa4alpdwphzmxm3x8kc48nfqnshn1wj94vyxc425";
};

format = "pyproject";

nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ paho-mqtt ];

checkInputs = [ hbmqtt pytest-asyncio pytestCheckHook ];
pytestFlagsArray = [ "tests/" "--ignore=tests/test_discovery.py" ];
pythonImportsCheck = [ "roombapy" ];

meta = with lib; {
homepage = "https://github.com/pschmitt/roombapy";
description = "Python program and library to control Wi-Fi enabled iRobot Roombas";
maintainers = with maintainers; [ justinas ];
license = licenses.mit;
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
@@ -682,7 +682,7 @@
"rmvtransport" = ps: with ps; [ PyRMVtransport ];
"rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API
"roku" = ps: with ps; [ ]; # missing inputs: rokuecp
"roomba" = ps: with ps; [ ]; # missing inputs: roombapy
"roomba" = ps: with ps; [ roombapy ];
"roon" = ps: with ps; [ ]; # missing inputs: roonapi
"route53" = ps: with ps; [ boto3 ];
"rova" = ps: with ps; [ ]; # missing inputs: rova
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -6730,6 +6730,8 @@ in {

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

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

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

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