at master 808 B view raw
1{ 2 aiohttp, 3 buildPythonPackage, 4 fetchFromGitHub, 5 lib, 6 pymodbus, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pyiskra"; 12 version = "0.1.27"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "Iskramis"; 17 repo = "pyiskra"; 18 tag = "v${version}"; 19 hash = "sha256-qPyspRYXolndNMLHG2Ln6eL0emRCYYr/00WhrX876k0="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 aiohttp 26 pymodbus 27 ]; 28 29 pythonImportsCheck = [ "pyiskra" ]; 30 31 # upstream has no tests 32 doCheck = false; 33 34 meta = { 35 changelog = "https://github.com/Iskramis/pyiskra/releases/tag/${src.tag}"; 36 description = "Python Iskra devices interface"; 37 homepage = "https://github.com/Iskramis/pyiskra"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ dotlambda ]; 40 }; 41}