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: 9825f547cadb
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 12677c44d547
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Jan 4, 2021

  1. Verified

    This commit was signed with the committer’s verified signature.
    bagder Daniel Stenberg
    Copy the full SHA
    09cd644 View commit details
  2. Copy the full SHA
    ffc83b2 View commit details

Commits on Jan 5, 2021

  1. Merge pull request #108431 from fabaff/pywilight

    python3Packages.pywilight: init at 0.0.65
    mweinelt authored Jan 5, 2021
    Copy the full SHA
    12677c4 View commit details
Showing with 35 additions and 1 deletion.
  1. +32 −0 pkgs/development/python-modules/pywilight/default.nix
  2. +1 −1 pkgs/servers/home-assistant/component-packages.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/pywilight/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, ifaddr
, requests
}:

buildPythonPackage rec {
pname = "pywilight";
version = "0.0.65";

src = fetchPypi {
inherit pname version;
sha256 = "1bldhg81lal9mbf55ky3gj2ndlplr0vfjp1bamd0mz5d9icas8nf";
};

propagatedBuildInputs = [
ifaddr
requests
];

# no tests are present
doCheck = false;
pythonImportsCheck = [ "pywilight" ];

meta = with lib; {
description = "Python API for WiLight device";
homepage = "https://github.com/leofig-rj/pywilight";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
@@ -927,7 +927,7 @@
"wemo" = ps: with ps; [ ]; # missing inputs: pywemo
"whois" = ps: with ps; [ python-whois ];
"wiffi" = ps: with ps; [ ]; # missing inputs: wiffi
"wilight" = ps: with ps; [ ]; # missing inputs: pywilight
"wilight" = ps: with ps; [ pywilight ];
"wink" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pubnubsub-handler python-wink
"wirelesstag" = ps: with ps; [ ]; # missing inputs: wirelesstagpy
"withings" = ps: with ps; [ aiohttp-cors ]; # missing inputs: withings-api
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -6269,6 +6269,8 @@ in {

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

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

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

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