about summary refs log tree commit diff
path: root/pkgs/development/libraries/libucontext/default.nix
blob: 23301648bdf94894875f54c7b1fe6b95540d7aa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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 = [ ];
  };
}