at master 786 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 pyserial, 7 sockio, 8}: 9 10buildPythonPackage rec { 11 pname = "serialio"; 12 version = "2.4.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "tiagocoutinho"; 19 repo = "serialio"; 20 tag = "v${version}"; 21 hash = "sha256-9TRGT0wpoRRcHqnH1XzlMBh0IcVzdEcOzN7hkeYnoW4="; 22 }; 23 24 propagatedBuildInputs = [ 25 pyserial 26 sockio 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "serialio" ]; 33 34 meta = with lib; { 35 description = "Library for concurrency agnostic serial communication"; 36 homepage = "https://github.com/tiagocoutinho/serialio"; 37 license = with licenses; [ gpl3Plus ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}