summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJade Lovelace <software@lfcode.ca>2025-08-09 17:38:33 +0000
committerJade Lovelace <software@lfcode.ca>2025-08-09 19:24:27 +0000
commita9a7aad1dfe012524346f1b4eca03d013e1d1c0f (patch)
tree119b49dce07214ea7f20635e3147d8eb8a34c86d
parent[Backport release-25.05] Revert "workflows/eval: disable swap" (#432328) (diff)
downloadnixpkgs-a9a7aad1dfe012524346f1b4eca03d013e1d1c0f.tar.gz
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. (cherry picked from commit cea61254193cb5cf80832183883e0c0fa509005b)
-rw-r--r--pkgs/by-name/li/libucontext/package.nix18
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/by-name/li/libucontext/package.nix b/pkgs/by-name/li/libucontext/package.nix
index 375fc20164ac..8bb8fed76700 100644
--- a/pkgs/by-name/li/libucontext/package.nix
+++ b/pkgs/by-name/li/libucontext/package.nix
@@ -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 = pname;
- 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 ];
};
}