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.
This commit is contained in:
parent
240db6aa31
commit
cea6125419
@ -2,26 +2,34 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
meson,
|
||||
ninja,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libucontext";
|
||||
version = "1.2";
|
||||
version = "1.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kaniini";
|
||||
repo = "libucontext";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-fk3ZKkp3dsyeF6SOWSccr5MkKEwS4AAuosD/h+6wjSw=";
|
||||
rev = "libucontext-${version}";
|
||||
hash = "sha256-aBmGt8O/HTWM9UJMKWz37uDLDkq1JEYTUb1SeGu9j9M=";
|
||||
};
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
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;
|
||||
maintainers = [ ];
|
||||
teams = [ teams.lix ];
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user