python-mosaicolabs

LOW
maintainer aarto 0 votes base mosaico scanned 2026-11-05 10:09:05.899562
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: aarto <aarto@aur.archlinux.org>
2pkgbase=mosaico
3pkgname=(mosaico mosaicod python-mosaicolabs)
4pkgver=0.7.0
5pkgrel=1
6pkgdesc='The data platform for robotics and physical AI.'
7url='https://mosaico.dev/'
8license=('Apache-2.0')
9arch=('x86_64' 'aarch64')
10options=(!lto)
11makedepends=(cargo git python-build python-installer python-poetry-core)
12source=(
13 "git+https://github.com/mosaico-labs/mosaico.git#tag=v$pkgver"
14 mosaicod.sysusers
15 mosaicod.tmpfiles
16 mosaicod.toml
17 mosaicod.service
18 mosaico-cleanup.service
19 mosaico-cleanup.timer
20 mosaico-sandbox.conf
21)
22b2sums=('18701d43b7473cf7908744c912174540e79162bbbe549e7846b2cea11ccfcae6f40dd0cba3f7b0b94e424a450b25e3fed8fd84328be9d10b23729c4f204fc9bd'
23 'aa570c6338969f62ca53092c884b2ff03a01203163f959ff767cf78931234e6652cb5058d419d18d073c37be79a9a9be0ab6a74680fd665ad728709f3666b0e7'
24 'c71f6037b38963cd61f70acd832db0d8d1db25bd70d7674f820eabe59c1b7c400582d9d61c0ac23c2c4d7228a42c7e84ee9b45e08b708fc93418452004a8a5ae'
25 'fd9bea9a796a83e5557229ef75875f763662edbfac12663c19fb11502b1670f54d355d29be9a4c498094e1dccff21f7dac11f09af4902c65f2e01208deacf50f'
26 '983c11c3fbc2e6f48f7541d7a75bfa79c649003519ca1a3b3d916c90fd42afeb38a666cfba9bfe6d250abee7172af9f8d82f1c262846d517bc187e593efaec04'
27 '55ec76921e14a2be8b5cd706c751c40ed459d83fa681fdd1ceeeb530945ac137cf51890f28d69c01bfeaa4e8ce34780ae76a93d46a3339a987b49d5396df00c4'
28 'c02942279c20fc0321a23cd2e735aba06a911574d8d95f74bd37285cf95bf1890e01e4fe0c0e310faf3a38017dc8161b350baf3c4fb598c4c98d42d4c02f7c18'
29 'e1f729a53b82d37f296b8faeac3d30d5d91c1ae4c3609646f9a614702f599aeabdb3aed3b8313cc95884c235162172bbecd037dc16d3602c776a69265e22106b')
30
31prepare() {
32 # mosaicod
33 cd "${pkgbase}/mosaicod"
34 export RUSTUP_TOOLCHAIN=stable
35 # TODO: Add back --locked
36 cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
37}
38
39build() {
40 # mosaicod
41 cd "${pkgbase}/mosaicod"
42 export RUSTUP_TOOLCHAIN=stable
43 export CARGO_TARGET_DIR=target
44 export SQLX_OFFLINE=true
45 cargo build --frozen --release
46
47 # SDK
48 cd "$srcdir/${pkgbase}/mosaico-sdk-py"
49 python -m build --wheel --no-isolation
50}
51
52package_mosaicod() {
53 depends=(glibc libgcc systemd)
54 optdepends=('postgresql: for a local PostgreSQL instance')
55 backup=('etc/mosaicod/config.toml')
56 install=mosaicod.install
57
58 install -Dm755 "$pkgbase/mosaicod/target/release/mosaicod" -t "$pkgdir/usr/bin/"
59 install -Dm644 mosaicod.toml "$pkgdir/etc/mosaicod/config.toml"
60
61 install -Dm644 mosaicod.sysusers "$pkgdir/usr/lib/sysusers.d/mosaicod.conf"
62 install -Dm644 mosaicod.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/mosaicod.conf"
63 install -Dm644 -t "$pkgdir/usr/lib/systemd/system/" \
64 mosaicod.service \
65 mosaico-cleanup.service \
66 mosaico-cleanup.timer
67 install -Dm644 mosaico-sandbox.conf "$pkgdir/usr/lib/systemd/system/mosaicod.service.d/10-sandbox.conf"
68 install -Dm644 mosaico-sandbox.conf "$pkgdir/usr/lib/systemd/system/mosaico-cleanup.service.d/10-sandbox.conf"
69 # TODO: Ship a man page once the mosaico repo provides one
70 install -Dm644 "$pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
71}
72
73package_python-mosaicolabs() {
74 pkgdesc='Python SDK for the Mosaico data platform'
75 arch=(any)
76 depends=(
77 python
78 python-av
79 python-click
80 python-mcap
81 python-numpy
82 python-pandas
83 python-pillow
84 python-protobuf
85 python-pyarrow
86 python-pydantic
87 python-rich
88 python-rosbags
89 python-typer
90 python-typing_extensions
91 )
92 optdepends=(
93 'python-mcap-protobuf-support: MCAP bridge'
94 'python-scikit-learn: scikit-learn base classes in mosaicolabs.ml'
95 )
96
97 # TODO: Drop the examples from the wheel
98 python -m installer --destdir="$pkgdir" "$pkgbase"/mosaico-sdk-py/dist/*.whl
99 # TODO: Either add the testing module to the wheel or drop the testing command from the wheel
100 rm "$pkgdir/usr/bin/mosaicolabs.testing"
101 install -Dm644 "$pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
102}
103
104package_mosaico() {
105 pkgdesc="The data platform for robotics and physical AI (meta package)"
106 depends=(mosaicod python-mosaicolabs)
107 arch=(any)
108}
109

Scan history

Scanned at (UTC)SeverityRules
2026-11-05 10:09:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion