The cabalg package

[Tags:library, mit, program, test]

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 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 repository head: git clone
Uploaded Sun Jun 15 21:53:39 UTC 2014 by DmitryMalikov
Distributions NixOS:0.2.9
Downloads 3369 total (29 in the last 30 days)
0 []
Status Docs not available [build log]
Last success reported on 2016-12-14 [all 8 reports]
Hackage Matrix CI


  • System
    • Directory
      • System.Directory.NonExistent


Maintainer's Corner

For package maintainers and hackage trustees