Packaging codestation/qcma with Nix.
Tested on x86_64-linux
.
qcma
is an "old" package (0.4.2
dates back to 2018) which makes it tricky to build today.
With Nix and pinned dependencies, we are sure that it will work forever™ (for legal reasons: this is a joke).
More details:
- codestation/vitamtp is packaged with Nix (see rx342/nix-vitamtp)
- Uses an old version of
libxml2
which increases build time (see the README.md)
- Uses an old version of
- An old version of
ffmpeg
is required (we use2.8.22
in this repository)- Defined in the overlay
- Needs to be built from source, which increases build time
# ⬇️ clone
git clone https://github.com/rx342/nix-qcma.git
cd nix-qcma
# ⚒️ build
nix-build
# install udev rule from https://github.com/rx342/nix-vitamtp
# check the README.md there
# 🚀 launch
./result/bin/qcma