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

Commits on Jan 5, 2021

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    erictapen Kerstin
    Copy the full SHA
    1e27d0a View commit details
  2. Copy the full SHA
    77c1a01 View commit details
  3. Merge pull request #108472 from fabaff/pyeverlights

    python3Packages.pyeverlights: init at 0.1.0
    mweinelt authored Jan 5, 2021
    Copy the full SHA
    1716f37 View commit details
Showing with 33 additions and 1 deletion.
  1. +30 −0 pkgs/development/python-modules/pyeverlights/default.nix
  2. +1 −1 pkgs/servers/home-assistant/component-packages.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
30 changes: 30 additions & 0 deletions pkgs/development/python-modules/pyeverlights/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
}:

buildPythonPackage rec {
pname = "pyeverlights";
version = "0.1.0";

src = fetchFromGitHub {
owner = "joncar";
repo = pname;
rev = version;
sha256 = "16xpq933j8yydq78fnf4f7ivyw5a45ix4mfycpmm91aj549p6pm0";
};

propagatedBuildInputs = [ aiohttp ];

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

meta = with lib; {
description = "Python module for interfacing with an EverLights control box";
homepage = "https://github.com/joncar/pyeverlights";
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
@@ -234,7 +234,7 @@
"essent" = ps: with ps; [ ]; # missing inputs: PyEssent
"etherscan" = ps: with ps; [ ]; # missing inputs: python-etherscan-api
"eufy" = ps: with ps; [ ]; # missing inputs: lakeside
"everlights" = ps: with ps; [ ]; # missing inputs: pyeverlights
"everlights" = ps: with ps; [ pyeverlights ];
"evohome" = ps: with ps; [ ]; # missing inputs: evohome-async
"ezviz" = ps: with ps; [ ]; # missing inputs: pyezviz
"facebook" = ps: with ps; [ ];
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -6171,6 +6171,8 @@ in {

python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { };

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

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

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