nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 39 lines 794 B view raw
1{ 2 lib, 3 bleak, 4 bleak-retry-connector, 5 buildPythonPackage, 6 fetchPypi, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pymicrobot"; 12 version = "0.0.23"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-fRCXCT3DR42HhYom23hVcWBXFngLPn7UZmyKrjb+MNY="; 18 }; 19 20 nativeBuildInputs = [ setuptools ]; 21 22 propagatedBuildInputs = [ 23 bleak 24 bleak-retry-connector 25 ]; 26 27 # Module has no tests 28 doCheck = false; 29 30 pythonImportsCheck = [ "microbot" ]; 31 32 meta = { 33 description = "Library to communicate with MicroBot"; 34 homepage = "https://github.com/spycle/pyMicroBot/"; 35 changelog = "https://github.com/spycle/pyMicroBot/releases/tag/v${version}"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ fab ]; 38 }; 39}