
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.
36 lines
686 B
Nix
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 ];
|
|
};
|
|
}
|