package meson-tests { description = "tests from meson/test cases, updated alongside muon"; website = "https://github.com/muon-build/meson-tests"; exclude = true; version# = "fc9f5953819851cbd63d25c9ed9d521a90473fd2"; output = remoteTar { url = "https://github.com/muon-build/meson-tests/archive/"+ version+".tar.gz"; checksum = "6IblifjfYzbc7EW4TMb9krK5E8dZ9TU40UHa0Xa4mhlAPtCpYkmVNmRH6U0U17lf"; compress = gzip; }; patches = [ "remove-broken-tests.patch" ]; } package muon { description = "meson implementation in C"; website = "https://muon.build"; anitya = 391173; version# = "0.7.1"; source = remoteTar { url = "https://git.sr.ht/~lattis/muon/archive/"+version+".tar.gz"; checksum = "aSsUxrcopKSSsv-3NiDaZbYvbFMI2dvpPLHBn06IYZRvvsH62oakZ341gEWhUmTC"; compress = gzip; }; patches = [ // equivalent to the meson patches "respect-colour.patch", // line buffered "setvbuf.patch", ]; extra = [ meson-tests ]; writable = true; early = ` chmod +w subprojects cp -r ../extra/meson-tests subprojects chmod -R +w subprojects/meson-tests `; exec = generic { build = ` (cd /usr/src/muon && CC=cc ./bootstrap.sh /boot) /boot/muon-bootstrap setup \ -Dprefix=`+prefix+` \ -Dbuildtype=release \ -Dlibcurl=disabled \ -Dlibarchive=disabled \ -Dlibpkgconf=disabled \ -Dtracy=disabled \ -Dmeson-docs=disabled \ -Dmeson-tests=enabled \ -Dwebsite=disabled \ /usr/src/muon /boot/muon-bootstrap samu `+jobsFlagE+` `; check = "./muon test "+jobsFlagE+" -Rv\n"; install = "./muon install -d /work\n"; }; tools = [ python-early ]; inputs = [ kernel-headers ]; runtime = [ pkg-config ]; }