atlassian-connect-core

Atlassian Connect snaplet for the Snap Framework and helper code. https://bitbucket.org/ajknoll/atlassian-connect-core

Latest on Hackage:0.7.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

Apache-2.0 licensed by Robert Massaioli

Atlassian Connect Core (for Haskell)

This is a library that provides Atlassian Connect functionality for applications built on top of the Snap Framework. We provide a snaplet so that you can integrate Atlassian Connect into your applications.

Compiling the code

In order to compile this library we required that you have NixOS installed, in order to create a reliable GHC 8.01 environment. Run the following to setup a NixOS shell with GHC:

$ cat ~/.nixpkgs/config.nix
{
    packageOverrides = super: let self = super.pkgs; in
    {
        myHaskellEnv =
        self.haskellPackages.ghcWithPackages
            (haskellPackages: with haskellPackages; [
            mtl QuickCheck random text alex cabal-install cpphs happy ghc-paths zlib
            # or anything you like.
            ]);
    };
}
$ nix-env -f "<nixpkgs>" -iA myHaskellEnv
$ nix-shell -p myHaskellEnv

Then run the following to build the library:

cabal sandbox init
cabal install # on OSX include the --with-gcc=clang flag

Good luck!

comments powered byDisqus