nixpkgs/pkgs/development/libraries/libucontext/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
569 B
Nix
Raw Normal View History

2022-12-24 12:41:26 +00:00
{ 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 ];
};
}