depot/third_party/nixpkgs/pkgs/development/libraries/libucontext/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

23 lines
552 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "libucontext";
version = "1.2";
src = fetchFromGitHub {
owner = "kaniini";
repo = pname;
rev = "v${version}";
hash = "sha256-fk3ZKkp3dsyeF6SOWSccr5MkKEwS4AAuosD/h+6wjSw=";
};
makeFlags = [ "DESTDIR=$(out)" ];
meta = with lib; {
homepage = "https://github.com/kaniini/libucontext";
description = "ucontext implementation featuring glibc-compatible ABI";
license = licenses.isc;
platforms = platforms.linux;
maintainers = [ ];
};
}