at master 851 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "russound"; 11 version = "0.1.8"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "laf"; 16 repo = "russound"; 17 tag = version; 18 hash = "sha256-iAhHOZwgaLhgkN/oW3Oz9bazyoqlP8GIsaXpqyXs3/Y="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ requests ]; 24 25 # Tests require actual hardware to connect to 26 doCheck = false; 27 28 pythonImportsCheck = [ "russound" ]; 29 30 meta = { 31 description = "Python API for select Russound RNET commands to provide Russound support within home-assistant.io"; 32 homepage = "https://github.com/laf/russound"; 33 changelog = "https://github.com/laf/russound/releases/tag/${version}"; 34 license = lib.licenses.gpl3Only; 35 maintainers = [ lib.maintainers.jamiemagee ]; 36 }; 37}