Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 36 lines 707 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 llvmPackages, 6 getconf, 7}: 8 9buildGoModule { 10 pname = "gllvm"; 11 version = "1.3.1-unstable-2024-04-28"; 12 13 src = fetchFromGitHub { 14 owner = "SRI-CSL"; 15 repo = "gllvm"; 16 rev = "154531bdd9c05cd9d01742bc1b35bdf200a487d3"; 17 sha256 = "sha256-dxrtJFqEEDKx33+sOm+R7huBwbovlKzL4qFXoco8A4s="; 18 }; 19 20 vendorHash = null; 21 22 nativeCheckInputs = 23 with llvmPackages; 24 [ 25 clang 26 llvm 27 ] 28 ++ lib.optionals stdenv.hostPlatform.isDarwin [ getconf ]; 29 30 meta = with lib; { 31 homepage = "https://github.com/SRI-CSL/gllvm"; 32 description = "Whole Program LLVM: wllvm ported to go"; 33 license = licenses.bsd3; 34 maintainers = [ ]; 35 }; 36}