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

Commits on Jan 16, 2021

  1. Copy the full SHA
    0aa29da View commit details
  2. Copy the full SHA
    8c58c96 View commit details
  3. Copy the full SHA
    0159cd9 View commit details

Commits on Jan 17, 2021

  1. Merge pull request #109581 from fabaff/python-hpilo

    python3Packages.python-hpilo: init at 4.4.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
    f68ff48 View commit details
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/python-hpilo/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, utils
}:

buildPythonPackage rec {
pname = "python-hpilo";
version = "4.4.3";

src = fetchFromGitHub {
owner = "seveas";
repo = pname;
rev = version;
sha256 = "1dk5xswydw7nmn9hlna1xca1mzcas9qv2kmid5yx8kvk3hjqci9v";
};

# Most tests requires an actual iLO to run
doCheck = false;
pythonImportsCheck = [ "hpilo" ];

meta = with lib; {
description = "Python module to access the HP iLO XML interface";
homepage = "https://seveas.github.io/python-hpilo/";
license = with licenses; [ asl20 gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/utils/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "utils";
version = "1.0.1";

src = fetchFromGitHub {
owner = "haaksmash";
repo = "pyutils";
rev = version;
sha256 = "07pr39cfw5ayzkp6h53y7lfpd0w19pphsdzsf100fsyy3npavgbr";
};

checkInputs = [
mock
pytestCheckHook
];

pythonImportsCheck = [ "utils" ];

meta = with lib; {
description = "Python set of utility functions and objects";
homepage = "https://github.com/haaksmash/pyutils";
license = with licenses; [ lgpl3Only ];
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
@@ -357,7 +357,7 @@
"homeworks" = ps: with ps; [ ]; # missing inputs: pyhomeworks
"honeywell" = ps: with ps; [ ]; # missing inputs: somecomfort
"horizon" = ps: with ps; [ ]; # missing inputs: horimote
"hp_ilo" = ps: with ps; [ ]; # missing inputs: python-hpilo
"hp_ilo" = ps: with ps; [ python-hpilo ];
"html5" = ps: with ps; [ aiohttp-cors pywebpush ];
"http" = ps: with ps; [ aiohttp-cors ];
"htu21d" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -6161,6 +6161,8 @@ in {

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

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

python-igraph = callPackage ../development/python-modules/python-igraph {
pkgconfig = pkgs.pkgconfig;
igraph = pkgs.igraph;
@@ -7912,6 +7914,8 @@ in {

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

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

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

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