2018-03-14 19:48:57 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "gllvm-${version}";
|
2018-06-01 19:39:20 +00:00
|
|
|
version = "1.2.2";
|
2018-03-14 19:48:57 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/SRI-CSL/gllvm";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SRI-CSL";
|
|
|
|
repo = "gllvm";
|
2018-05-03 00:32:12 +00:00
|
|
|
rev = "v${version}";
|
2018-06-01 19:39:20 +00:00
|
|
|
sha256 = "1k6081frnc6i6h3fa8d796cirhbf5kkshw7qyarz5wi3fcgijn4s";
|
2018-03-14 19:48:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/SRI-CSL/gllvm;
|
|
|
|
description = "Whole Program LLVM: wllvm ported to go";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
2018-06-01 19:50:49 +00:00
|
|
|
platforms = platforms.all;
|
2018-03-14 19:48:57 +00:00
|
|
|
};
|
|
|
|
}
|