2018-03-14 20:48:57 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "gllvm-${version}";
|
2019-01-05 20:39:17 +01:00
|
|
|
version = "1.2.3";
|
2018-03-14 20:48:57 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/SRI-CSL/gllvm";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SRI-CSL";
|
|
|
|
repo = "gllvm";
|
2018-05-03 02:32:12 +02:00
|
|
|
rev = "v${version}";
|
2019-01-05 20:39:17 +01:00
|
|
|
sha256 = "12kdgsma62nzksvw266qm3ivkbz62ma93dd25wy0p19789v4fi7s";
|
2018-03-14 20:48:57 +01: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 21:50:49 +02:00
|
|
|
platforms = platforms.all;
|
2018-03-14 20:48:57 +01:00
|
|
|
};
|
|
|
|
}
|