depot/third_party/nixpkgs/pkgs/development/tools/gllvm/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

27 lines
620 B
Nix

{ lib, buildGoModule, fetchFromGitHub, llvmPackages, getconf }:
buildGoModule rec {
pname = "gllvm";
version = "1.3.1";
src = fetchFromGitHub {
owner = "SRI-CSL";
repo = "gllvm";
rev = "v${version}";
sha256 = "sha256-CoreqnMRuPuv+Ci1uyF3HJCJFwK2jwB79okynv6AHTA=";
};
vendorHash = null;
nativeCheckInputs = with llvmPackages; [
clang
llvm
] ++ lib.optionals stdenv.isDarwin [ getconf ];
meta = with lib; {
homepage = "https://github.com/SRI-CSL/gllvm";
description = "Whole Program LLVM: wllvm ported to go";
license = licenses.bsd3;
maintainers = [ ];
};
}