mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
28 lines
646 B
Nix
28 lines
646 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 = with maintainers; [ dtzWill ];
|
|
};
|
|
}
|