Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pyserial 6}: 7 8buildPythonPackage rec { 9 pname = "pyserial-asyncio"; 10 version = "0.6"; 11 12 disabled = pythonOlder "3.5"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-tgMpI+BenXXsF6WvmphCnEbSg5rfr4BgTVLg+qzXoy8="; 17 }; 18 19 propagatedBuildInputs = [ 20 pyserial 21 ]; 22 23 pythonImportsCheck = [ 24 "serial_asyncio" 25 ]; 26 27 meta = with lib; { 28 description = "Asyncio extension package for pyserial"; 29 homepage = "https://github.com/pyserial/pyserial-asyncio"; 30 license = licenses.bsd3; 31 maintainers = with maintainers; [ ]; 32 platforms = platforms.linux; 33 }; 34}