Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
chromebrew
Commits
b59ef2e7
Commit
b59ef2e7
authored
Feb 20, 2018
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ghc package
parent
9b47cb76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
packages/ghc.rb
packages/ghc.rb
+27
-0
No files found.
packages/ghc.rb
0 → 100644
View file @
b59ef2e7
require
'package'
class
Ghc
<
Package
description
'The Glasgow Haskell Compiler is a state-of-the-art, open source compiler and interactive environment for the functional language Haskell.'
homepage
'https://www.haskell.org/ghc/'
version
'8.2.2'
source_url
'https://www.haskell.org/ghc/download_ghc_8_2_2.html'
source_sha256
'faceb0629054cc52ba70abad9179564df8dcbc0f9349df85698966047c274f7a'
binary_url
({
})
binary_sha256
({
})
depends_on
'stack'
depends_on
'libtinfo'
def
self
.
build
system
"stack setup ghc-8.2.2"
system
"echo '#!/bin/bash' > ghc"
system
"echo 'stack ghc
\"\$
@
\"
' >> ghc"
end
def
self
.
install
system
"install -Dm755 ghc
#{
CREW_DEST_PREFIX
}
/bin/ghc"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment