(package
    (name "go-1.4")
    (version "1.4-bootstrap-20171003")
    (homepage "https://go.dev/")
    (src (tar
        (url "https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz")
        (dir "go/src")
        (blake3 "e38b036986f4969980664342af2e0b14c503bf4222b980f2bfdcb32fd62fde14")))
    (build
        (shell "CGO_ENABLED=0 GOROOT_FINAL=/opt/go ./make.bash")
        (shell "rm -rf /opt/go || true")
        (shell "cd ../.. && mv go /opt/ && ln -sf /opt/go/bin/go /usr/bin/go || true")))
