From da47065ca92e8008289f6d04bc7a8d9981409293 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Sat, 5 Jul 2025 21:56:20 -0700 Subject: [PATCH 1/2] python313Packages.pyiss: init at 1.0.1 --- .../python-modules/pyiss/default.nix | 45 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 47 insertions(+) create mode 100644 pkgs/development/python-modules/pyiss/default.nix diff --git a/pkgs/development/python-modules/pyiss/default.nix b/pkgs/development/python-modules/pyiss/default.nix new file mode 100644 index 000000000000..b41d8c5100ec --- /dev/null +++ b/pkgs/development/python-modules/pyiss/default.nix @@ -0,0 +1,45 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + requests, + voluptuous, + httmock, + unittestCheckHook, +}: + +buildPythonPackage rec { + pname = "pyiss"; + version = "1.0.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "HydrelioxGitHub"; + repo = "pyiss"; + tag = version; + hash = "sha256-bhxeu/06B6ba9RB9p++tRWN/Dp3KUel9DN166HryP1E="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + requests + voluptuous + ]; + + nativeCheckInputs = [ + httmock + unittestCheckHook + ]; + + pythonImportsCheck = [ "pyiss" ]; + + meta = { + description = "Python library to access International Space Station location and data"; + homepage = "https://github.com/HydrelioxGitHub/pyiss"; + changelog = "https://github.com/HydrelioxGitHub/pyiss/releases/tag/${version}"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bdd94620cdc6..63af4dcd275d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12902,6 +12902,8 @@ self: super: with self; { pyiskra = callPackage ../development/python-modules/pyiskra { }; + pyiss = callPackage ../development/python-modules/pyiss { }; + pyisy = callPackage ../development/python-modules/pyisy { }; pyituran = callPackage ../development/python-modules/pyituran { }; From 912c2124ebb383af69b4508d21e396b419646b8f Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Sat, 5 Jul 2025 21:56:31 -0700 Subject: [PATCH 2/2] home-assistant: update component packages --- pkgs/servers/home-assistant/component-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 4bae988ec8d0..2cd5d9ae89a1 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2805,7 +2805,8 @@ ]; "iss" = ps: with ps; [ - ]; # missing inputs: pyiss + pyiss + ]; "ista_ecotrend" = ps: with ps; [ fnv-hash-fast @@ -7185,6 +7186,7 @@ "iskra" "islamic_prayer_times" "israel_rail" + "iss" "ista_ecotrend" "isy994" "ituran"