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
nexedi
chromebrew
Commits
b730a60b
Commit
b730a60b
authored
Feb 22, 2018
by
Damian Montero
Committed by
GitHub
Feb 22, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1899 from uberhacker/add-cabal-package
Add cabal package
parents
435dc2fa
4164b0b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
packages/cabal.rb
packages/cabal.rb
+23
-0
No files found.
packages/cabal.rb
0 → 100644
View file @
b730a60b
require
'package'
class
Cabal
<
Package
description
'Common Architecture for Building Applications and Libraries'
homepage
'https://www.haskell.org/cabal/'
version
'2.0.0.1'
case
ARCH
when
'i686'
source_url
'https://www.haskell.org/cabal/release/cabal-install-2.0.0.1/cabal-install-2.0.0.1-i386-unknown-linux.tar.gz'
source_sha256
'3198c04aeddc38847e4b25ad4590f17a9e5e41eba0b6f1c6fba997d7e73388d8'
when
'x86_64'
source_url
'https://www.haskell.org/cabal/release/cabal-install-2.0.0.1/cabal-install-2.0.0.1-x86_64-unknown-linux.tar.gz'
source_sha256
'915f9bc9944a6854ed9255c2a38cb18366fa94e5c7f584ebf139e829bda98764'
else
puts
"
#{
ARCH
}
architecture not supported."
.
lightred
end
depends_on
'ghc'
def
self
.
install
system
"install -Dm755 cabal
#{
CREW_DEST_PREFIX
}
/bin/cabal"
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