Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyserial, 6}: 7 8buildPythonPackage rec { 9 pname = "asyncserial"; 10 version = "unstable-2022-06-10"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "m-labs"; 15 repo = "asyncserial"; 16 rev = "446559fec892a556876b17d17f182ae9647d5952"; 17 hash = "sha256-WExmgh55sTH2w7wV3i96J1F1FN7L5rX3L/Ayvt2Kw/g="; 18 }; 19 20 propagatedBuildInputs = [ pyserial ]; 21 22 pythonImportsCheck = [ "asyncserial" ]; 23 24 meta = with lib; { 25 description = "asyncio support for pyserial"; 26 homepage = "https://github.com/m-labs/asyncserial"; 27 license = licenses.bsd2; 28 maintainers = with maintainers; [ doronbehar ]; 29 }; 30}