at master 761 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "neurio"; 11 version = "0.3.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "jordanh"; 16 repo = "neurio-python"; 17 tag = version; 18 hash = "sha256-Kyjx+76OR3fpA9p/Zg7S4/vuGuNU2kb022BijoNMSUI="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ requests ]; 24 25 # Project has tests but they require actual API credentials 26 doCheck = false; 27 28 pythonImportsCheck = [ "neurio" ]; 29 30 meta = { 31 description = "Neurio energy sensor and appliance automation API library"; 32 homepage = "https://github.com/jordanh/neurio-python"; 33 license = lib.licenses.asl20; 34 maintainers = [ lib.maintainers.jamiemagee ]; 35 }; 36}