Jade Lovelace cea6125419 libucontext: 1.2 -> 1.3.2
The package was previously busted: there were random things in
result/usr, which is very much wrong. I rewrote it to use the meson
build since the makefile is pretty highly busted.
2025-08-09 17:38:33 +00:00

36 lines
686 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "libucontext";
version = "1.3.2";
src = fetchFromGitHub {
owner = "kaniini";
repo = "libucontext";
rev = "libucontext-${version}";
hash = "sha256-aBmGt8O/HTWM9UJMKWz37uDLDkq1JEYTUb1SeGu9j9M=";
};
nativeBuildInputs = [
meson
ninja
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://github.com/kaniini/libucontext";
description = "ucontext implementation featuring glibc-compatible ABI";
license = licenses.isc;
platforms = platforms.linux;
teams = [ teams.lix ];
};
}