python312Packages.solarlog-cli: init at 0.1.6
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user