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