python312Packages.solarlog-cli: init at 0.1.6

This commit is contained in:
Robert Schütz
2024-08-05 03:31:01 -07:00
parent 58bc3da2ae
commit f1fb21707c
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
hatchling,
aiohttp,
}:
buildPythonPackage rec {
pname = "solarlog-cli";
version = "0.1.6";
pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "dontinelli";
repo = "solarlog_cli";
rev = "refs/tags/v${version}";
hash = "sha256-Bliq1n6xH0cZQHueiGDyalIo0zms8zCSpUGq2KH5xZY=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "solarlog_cli" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/dontinelli/solarlog_cli/releases/tag/v${version}";
description = "Python library to access the Solar-Log JSON interface";
homepage = "https://github.com/dontinelli/solarlog_cli";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
+2
View File
@@ -14546,6 +14546,8 @@ self: super: with self; {
softlayer = callPackage ../development/python-modules/softlayer { };
solarlog-cli = callPackage ../development/python-modules/solarlog-cli { };
solax = callPackage ../development/python-modules/solax { };
solc-select = callPackage ../development/python-modules/solc-select { };