Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "libucontext"; 9 version = "1.2"; 10 11 src = fetchFromGitHub { 12 owner = "kaniini"; 13 repo = "libucontext"; 14 rev = "v${version}"; 15 hash = "sha256-fk3ZKkp3dsyeF6SOWSccr5MkKEwS4AAuosD/h+6wjSw="; 16 }; 17 18 makeFlags = [ "DESTDIR=$(out)" ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/kaniini/libucontext"; 22 description = "ucontext implementation featuring glibc-compatible ABI"; 23 license = licenses.isc; 24 platforms = platforms.linux; 25 maintainers = [ ]; 26 }; 27}