forked from mirrors/nixpkgs
Merge pull request #186094 from fabaff/pykostalpiko
python310Packages.pykostalpiko: init at 1.1.1-1
This commit is contained in:
commit
88784742cd
42
pkgs/development/python-modules/pykostalpiko/default.nix
Normal file
42
pkgs/development/python-modules/pykostalpiko/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pykostalpiko";
|
||||
version = "1.1.1-1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Florian7843";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-0szkxR19iSWWpPAEo3wriMmI5TFI6YeYRTj86b4rKlU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
click
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pykostalpiko"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library and CLI-tool to fetch the data from a Kostal Piko inverter";
|
||||
homepage = "https://github.com/Florian7843/pykostalpiko";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -7707,6 +7707,8 @@ in {
|
|||
|
||||
pykoplenti = callPackage ../development/python-modules/pykoplenti { };
|
||||
|
||||
pykostalpiko = callPackage ../development/python-modules/pykostalpiko { };
|
||||
|
||||
pykulersky = callPackage ../development/python-modules/pykulersky { };
|
||||
|
||||
pykwalify = callPackage ../development/python-modules/pykwalify { };
|
||||
|
|
Loading…
Reference in a new issue