Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 651 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pyserial 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "aioserial"; 10 version = "1.3.1"; 11 12 disabled = pythonOlder "3.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-cCvwOw64S47y2NrFy5JeHmhdzpj3exJVabxv0rO1gig="; 17 }; 18 19 propagatedBuildInputs = [ 20 pyserial 21 ]; 22 23 # Project has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "aioserial" ]; 27 28 meta = with lib; { 29 description = "Python module for async serial communication"; 30 homepage = "https://github.com/changyuheng/aioserial"; 31 license = licenses.mpl20; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}