{ stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { name = "gllvm-${version}"; version = "1.2.1"; goPackagePath = "github.com/SRI-CSL/gllvm"; src = fetchFromGitHub { owner = "SRI-CSL"; repo = "gllvm"; rev = "v${version}"; sha256 = "1rbvn7qhzb7xxqv0wrkwxq4sm657vsl6q7nwrfq2zwb21573811z"; }; 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 ]; }; }