atlassian-connect-core: Atlassian Connect snaplet for the Snap Framework and helper code.

[ apache, library, snap, web ] [ Propose Tags ]

This library allows you to quickly get an Atlassian Connect application running on top of the Snap Framework. It provides best practices and helper functions to get you moving quickly. Please read the rest of the documentation for more details.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.5.0.0, 0.5.0.1, 0.5.1.0, 0.6.0.0, 0.7.0.0, 0.7.0.1, 0.7.0.2, 0.7.1.0, 0.7.2.0, 0.8.0.0, 0.8.0.1
Dependencies aeson (>=0.7.0.3), atlassian-connect-descriptor (>=0.4.5), base (>=4.7 && <5), base64-bytestring (==1.0.*), bytestring (>=0.9), case-insensitive (==1.*), cipher-aes (==0.2.*), configurator (==0.3.*), containers (==0.5.*), cryptohash (==0.11.*), hostname (==1.*), http-client (>=0.4), http-client-tls (>=0.2), http-media (==0.6.*), http-types (>=0.8), jwt (>=0.6), mtl (==2.*), network, network-api-support (>=0.2), network-uri, snap (>=0.14), snap-core (>=0.9), split (==0.2.*), text (>=0.11), time (>=1.2), time-units (==1.*), transformers (>=0.3) [details]
License Apache-2.0
Copyright (c) 2014 Robert Massaioli, Avi Knoll, Eero Kaukonen
Author Robert Massaioli
Maintainer rmassaioli@atlassian.com
Category Web, Snap
Home page https://bitbucket.org/ajknoll/atlassian-connect-core
Source repo head: git clone git@bitbucket.org:ajknoll/atlassian-connect-core.git
Uploaded by RobertMassaioli at Fri May 10 03:26:09 UTC 2019
Distributions NixOS:0.8.0.1
Downloads 6647 total (392 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2019-05-10 [all 3 reports]

Modules

  • Snap
    • Snap.AtlassianConnect
      • Snap.AtlassianConnect.HostRequest
      • Snap.AtlassianConnect.OAuth

Flags

NameDescriptionDefaultType
network-uri

Get Network.URI from the network-uri package

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for atlassian-connect-core-0.8.0.1

[back to package description]

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!