1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "airtouch4pyapi"; 11 version = "1.0.8"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "LonePurpleWolf"; 18 repo = "airtouch4pyapi"; 19 tag = "v${version}"; 20 hash = "sha256-RiRwebumidn0nijL/e9J74ZYx0DASi1up5BTNxYoGEA="; 21 }; 22 23 propagatedBuildInputs = [ numpy ]; 24 25 # Project has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "airtouch4pyapi" ]; 29 30 meta = with lib; { 31 description = "Python API for Airtouch 4 controllers"; 32 homepage = "https://github.com/LonePurpleWolf/airtouch4pyapi"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}