python3Packages.psutil-home-assistant: init at 0.0.1
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, psutil
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "psutil-home-assistant";
|
||||
version = "0.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "psutil-home-assistant";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-6bj1aaa/JYZFVwUAJfxISRoldgTmumCG8WrlKhkb6kM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
psutil
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/home-assistant-libs/psutil-home-assistant/releases/tag/${version}";
|
||||
description = "Wrapper of psutil that removes reliance on globals";
|
||||
homepage = "https://github.com/home-assistant-libs/psutil-home-assistant";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.home-assistant.members;
|
||||
};
|
||||
}
|
||||
@@ -7245,6 +7245,8 @@ in {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) IOKit;
|
||||
};
|
||||
|
||||
psutil-home-assistant = callPackage ../development/python-modules/psutil-home-assistant { };
|
||||
|
||||
psycopg = callPackage ../development/python-modules/psycopg { };
|
||||
|
||||
psycopg2 = callPackage ../development/python-modules/psycopg2 { };
|
||||
|
||||
Reference in New Issue
Block a user