cabalg: alias for cabal install from given git repo

[ library, mit, program, unclassified ] [ Propose Tags ]

Short alias for installing cabal package from git source repository.


$> cabalg

is just a shorthand for

$> mktemp
$> git clone --single-branch --depth=1 --quiet <tempdirname>
$> cabal install tempdirname/cabalfilename

It also supports arbitrary git revisions mentioning like

$> cabalg

Necessary arguments could be passed to 'cabal install' with -- delimiter like

$> cabalg <repo1> ... <repoN> [-- <cabal-install args>]

Please notice, that --single-branch flag comes with git-1.7.10 ( and later, so you probably want to have it.

It's supposed to be Windows-compatible (not sure about the tests)

Versions [faq] 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9
Dependencies base (==4.*), directory, filepath, process [details]
License MIT
Author Dmitry Malikov
Source repo head: git clone
Uploaded by DmitryMalikov at Sat Aug 23 13:44:55 UTC 2014
Distributions NixOS:0.2.9
Executables cabalg
Downloads 8244 total (414 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2016-12-13 [all 8 reports]


  • System
    • Directory
      • System.Directory.NonExistent


Maintainer's Corner

For package maintainers and hackage trustees