Diff: https://github.com/Iskramis/pyiskra/compare/refs/tags/v0.1.19...refs/tags/v0.1.21 Changelog: https://github.com/Iskramis/pyiskra/releases/tag/v0.1.21
42 lines
813 B
Nix
42 lines
813 B
Nix
{
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
pymodbus,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyiskra";
|
|
version = "0.1.21";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Iskramis";
|
|
repo = "pyiskra";
|
|
tag = "v${version}";
|
|
hash = "sha256-ZFva7pyilMjvgRfsDhnsLGKRjl9Jf4vdFfK4RFb3sSE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
pymodbus
|
|
];
|
|
|
|
pythonImportsCheck = [ "pyiskra" ];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/Iskramis/pyiskra/releases/tag/${src.tag}";
|
|
description = "Python Iskra devices interface";
|
|
homepage = "https://github.com/Iskramis/pyiskra";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|