mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
24 lines
569 B
Nix
24 lines
569 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 = [ maintainers.yuka ];
|
|
};
|
|
}
|