Skip to content

Commit

Permalink
Merge pull request #326655 from Sigmanificient/pymee-init-2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jul 27, 2024
2 parents 8886be8 + 348bc2e commit 9957f17
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/development/python-modules/pymee/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
websockets,
}:

buildPythonPackage rec {
pname = "pymee";
version = "2.2.0";
pyproject = true;

src = fetchFromGitHub {
owner = "FreshlyBrewedCode";
repo = "pymee";
rev = "refs/tags/v${version}";
hash = "sha256-4XKd0lZ6RAsG2zXjKMUeST6cNcg+SjT371gxLIhxkAA=";
};

build-system = [ setuptools ];
dependencies = [
aiohttp
websockets
];

pythonImportsCheck = [ "pymee" ];

# no tests
doCheck = false;

meta = {
description = "Python library to interact with homee";
homepage = "https://github.com/FreshlyBrewedCode/pymee";
changelog = "https://github.com/FreshlyBrewedCode/pymee/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11648,6 +11648,8 @@ self: super: with self; {

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

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

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

pymelcloud = callPackage ../development/python-modules/pymelcloud { };
Expand Down

0 comments on commit 9957f17

Please sign in to comment.