moving go packages to the new path

This commit is contained in:
Tom Scogland
2016-05-12 10:45:58 -07:00
parent 0c33e8ac48
commit 915f91a619
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
from spack import *
class ThePlatinumSearcher(Package):
"""Fast parallel recursive grep alternative"""
# FIXME: add a proper url for your package's homepage here.
homepage = "https://github.com/monochromegane/the_platinum_searcher"
url = "https://github.com/monochromegane/the_platinum_searcher/archive/v1.7.7.tar.gz"
version('1.7.7', '08d7265e101bc1427d5d4b9903aa1166')
depends_on("go")
def install(self, spec, prefix):
env = which('env')
env()
# Fetch all dependencies
go('get', './...')
# Build pt
go('build')