Package Batsim in some distros
We only provide Nix packages for now. Packaging Batsim in some distros would reduce the entry cost of some users.
NixOS
Everything is already packaged, we just have to put these packages in nixpkgs then to push batsim. We could also just stay in kapack (slowly moving stuff to our NUR).
Archlinux: Mostly Done
All deps are now available (either in classical repos or in AUR).
A PKGBUILD similar to this one should work, I'll publish it for next Batsim release.
# Maintainer: Millian Poquet <millian.poquet@gmail.com>
pkgname=batsim
pkgver=b0f59fd35a49aa331877b30d544a1e3afa4f86ff
pkgrel=1
pkgdesc='An infrastructure simulator that enables the study of resource management techniques.'
arch=('i686' 'x86_64')
url='https://framagit.org/batsim/batsim'
license=('LGPL-3.0')
source=('https://framagit.org/batsim/batsim/-/archive/b0f59fd35a49aa331877b30d544a1e3afa4f86ff/batsim-b0f59fd35a49aa331877b30d544a1e3afa4f86ff.tar.gz')
depends=('simgrid' 'boost' 'intervalset' 'rapidjson' 'pugixml' 'zeromq' 'redox-pkgconfig' 'docopt')
makedepends=('meson' 'ninja' 'pkgconf' 'gtest')
md5sums=('0e8057d057e3d616918b9a27742e490b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
meson --prefix=/usr build
ninja -C build
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
meson test -C build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" meson install -C build
rm -rf build
}
-
boost -
rapidjson -
simgrid: AUR https://aur.archlinux.org/packages/simgrid/ -
redox: AUR https://aur.archlinux.org/packages/redox-pkgconfig/ -
hiredis -
libev
-
-
libzmq: zeromq -
docopt -
intervalset: AUR https://aur.archlinux.org/packages/intervalset -
pugixml
Debian: NOPE
Dependencies:
-
simgrid: https://packages.debian.org/sid/libsimgrid-dev (3.25 should be available soon) -
boost -
rapidjson: https://packages.debian.org/sid/rapidjson-dev -
redox: NOPE -
libzmq -
docopt: https://packages.debian.org/sid/libdocopt-dev -
intervalset: TO DO? -
pugixml: https://packages.debian.org/sid/libpugixml-dev
Edited by Millian Poquet