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.

+13 -5
+13 -5
pkgs/by-name/li/libucontext/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 + meson, 6 + ninja, 7 + nix-update-script, 5 8 }: 6 9 7 10 stdenv.mkDerivation rec { 8 11 pname = "libucontext"; 9 - version = "1.2"; 12 + version = "1.3.2"; 10 13 11 14 src = fetchFromGitHub { 12 15 owner = "kaniini"; 13 16 repo = "libucontext"; 14 - rev = "v${version}"; 15 - hash = "sha256-fk3ZKkp3dsyeF6SOWSccr5MkKEwS4AAuosD/h+6wjSw="; 17 + rev = "libucontext-${version}"; 18 + hash = "sha256-aBmGt8O/HTWM9UJMKWz37uDLDkq1JEYTUb1SeGu9j9M="; 16 19 }; 17 20 18 - makeFlags = [ "DESTDIR=$(out)" ]; 21 + nativeBuildInputs = [ 22 + meson 23 + ninja 24 + ]; 25 + 26 + passthru.updateScript = nix-update-script { }; 19 27 20 28 meta = with lib; { 21 29 homepage = "https://github.com/kaniini/libucontext"; 22 30 description = "ucontext implementation featuring glibc-compatible ABI"; 23 31 license = licenses.isc; 24 32 platforms = platforms.linux; 25 - maintainers = [ ]; 33 + teams = [ teams.lix ]; 26 34 }; 27 35 }