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

Commits on Jan 15, 2021

  1. Copy the full SHA
    04f4d3a View commit details
  2. Copy the full SHA
    e22df4b View commit details

Commits on Jan 17, 2021

  1. Merge pull request #109451 from fabaff/aioshelly

    python3Packages.aioshelly: init at 0.5.3
    mweinelt authored Jan 17, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5b93a51 View commit details
Showing with 37 additions and 1 deletion.
  1. +34 −0 pkgs/development/python-modules/aioshelly/default.nix
  2. +1 −1 pkgs/servers/home-assistant/component-packages.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
34 changes: 34 additions & 0 deletions pkgs/development/python-modules/aioshelly/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, netifaces
}:

buildPythonPackage rec {
pname = "aioshelly";
version = "0.5.3";

src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = version;
sha256 = "0177psqfib70vcvf3cg8plbwrilh770cqg8b547icdh5lnqv70b1";
};

propagatedBuildInputs = [
aiohttp
netifaces
];

# Project has no test
doCheck = false;
pythonImportsCheck = [ "aioshelly" ];

meta = with lib; {
description = "Python library to control Shelly";
homepage = "https://github.com/home-assistant-libs/aioshelly";
license = with licenses; [ asl20 ];
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
@@ -722,7 +722,7 @@
"seventeentrack" = ps: with ps; [ ]; # missing inputs: py17track
"sharkiq" = ps: with ps; [ ]; # missing inputs: sharkiqpy
"shell_command" = ps: with ps; [ ];
"shelly" = ps: with ps; [ ]; # missing inputs: aioshelly
"shelly" = ps: with ps; [ aioshelly ];
"shiftr" = ps: with ps; [ paho-mqtt ];
"shodan" = ps: with ps; [ shodan ];
"shopping_list" = ps: with ps; [ aiohttp-cors ];
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -268,6 +268,8 @@ in {

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

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

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

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