at 23.05-pre 811 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, poetry-core 6, pydantic 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "huum"; 12 version = "0.6.0"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "sha256-PYOjfLPa/vZZP0IZuUZnQ74IrTRvizgYhKOmhd83aMQ="; 20 }; 21 22 nativeBuildInputs = [ 23 poetry-core 24 ]; 25 26 propagatedBuildInputs = [ 27 aiohttp 28 pydantic 29 ]; 30 31 # Tests are not shipped and source not tagged 32 # https://github.com/frwickst/pyhuum/issues/2 33 doCheck = false; 34 35 pythonImportsCheck = [ 36 "huum" 37 ]; 38 39 meta = with lib; { 40 description = "Library for for Huum saunas"; 41 homepage = "https://github.com/frwickst/pyhuum"; 42 license = with licenses; [ mit ]; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}