at 18.03-beta 546 B view raw
1{ lib 2, stdenv 3, buildPythonPackage 4, fetchPypi 5, pyserial 6, nose 7, mock }: 8 9buildPythonPackage rec { 10 pname = "python-can"; 11 version = "2.0.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "1c6zfd29ck9ffdklfb5xgxvfl52xdaqd89isykkypm1ll97yk2fs"; 16 }; 17 18 propagatedBuildInputs = [ pyserial ]; 19 checkInputs = [ nose mock ]; 20 21 meta = with lib; { 22 homepage = https://github.com/hardbyte/python-can; 23 description = "CAN support for Python"; 24 license = licenses.lgpl3; 25 maintainers = with maintainers; [ sorki ]; 26 }; 27}