Created
February 4, 2015 21:07
-
-
Save purefn/21e392eb3bc2639db530 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ mkDerivation, aeson, AesonBson, ansi-wl-pprint, base, bifunctors | |
, blaze-html, blaze-markup, bson, bytestring, case-insensitive | |
, cereal, clay, configurator, containers, either, errors | |
, exceptions, failure, hslogger, http-conduit, http-types, jwt | |
, lens, mongoDB, mtl, network, network-uri, optparse-applicative | |
, parsers, profunctors, pureMD5, QuickCheck, safe, scientific | |
, scotty, semigroups, SHA, stdenv, tasty, tasty-hunit | |
, tasty-quickcheck, text, time, transformers, trifecta | |
, unordered-containers, uri, utf8-string, validation, wai | |
, wai-extra, wai-middleware-static, warp, word8, zip-archive | |
}: | |
mkDerivation { | |
pname = "hiberico"; | |
version = "1"; | |
src = ./.; | |
isLibrary = true; | |
isExecutable = true; | |
buildDepends = [ | |
aeson AesonBson ansi-wl-pprint base bifunctors blaze-html | |
blaze-markup bson bytestring case-insensitive cereal clay | |
configurator containers either errors exceptions failure hslogger | |
http-conduit http-types jwt lens mongoDB mtl network network-uri | |
optparse-applicative parsers profunctors pureMD5 safe scientific | |
scotty semigroups SHA text time transformers trifecta | |
unordered-containers uri utf8-string validation wai wai-extra | |
wai-middleware-static warp word8 zip-archive | |
]; | |
testDepends = [ | |
aeson base bytestring QuickCheck tasty tasty-hunit tasty-quickcheck | |
text uri | |
]; | |
homepage = "https://bitbucket.org/atlassian-marketplace/hiberico"; | |
description = "Iberico in Haskell"; | |
license = "unknown"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: hiberico | |
version: 2 | |
license: OtherLicense | |
category: Web | |
build-type: Simple | |
cabal-version: >=1.8 | |
library | |
hs-source-dirs: lib | |
ghc-options: -Wall -Werror -rtsopts=all -optl-pthread | |
exposed-modules: Hiberico | |
, Applications | |
, Licenses | |
, PreludeH | |
, TopologyReports | |
, Types | |
, Rainicorn.Configurator | |
, Rainicorn.Heartbeat | |
, Rainicorn.ManifestParser | |
, Rainicorn.Types | |
, Verify | |
other-modules: Mongo | |
, Httpc | |
build-depends: aeson | |
, AesonBson | |
, ansi-wl-pprint | |
, base >=4.6 | |
, bifunctors | |
, bson | |
, bytestring | |
, case-insensitive | |
, cereal | |
, configurator | |
, containers | |
, either | |
, errors | |
, exceptions | |
, failure | |
, hslogger | |
, http-conduit | |
, http-types | |
, jwt | |
, lens | |
, mongoDB | |
, mtl | |
, network | |
, network-uri | |
, parsers | |
, profunctors | |
, pureMD5 | |
, safe | |
, scientific | |
, semigroups | |
, SHA | |
, text | |
, time | |
, transformers | |
, trifecta | |
, unordered-containers | |
, uri | |
, utf8-string | |
, validation | |
, word8 | |
, zip-archive | |
executable hiberico | |
main-is: Main.hs | |
hs-source-dirs: webapp | |
ghc-options: -Wall -Werror -rtsopts=all -optl-pthread | |
build-depends: base >=4.6 | |
, hiberico | |
, aeson | |
, hslogger | |
, http-types | |
, optparse-applicative | |
, scotty | |
, wai | |
, wai-middleware-static | |
, wai-extra | |
, warp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with (import <nixpkgs> {}).pkgs; | |
with (import <nixpkgs/pkgs/development/haskell-modules/lib.nix> { inherit pkgs; }); | |
let modifiedHaskellPackages = haskellngPackages.override { | |
overrides = self: super: { | |
AesonBson = self.callPackage nixpkgs/AesonBson {}; | |
hiberico = self.callPackage ./. {}; | |
}; | |
}; | |
in modifiedHaskellPackages.hiberico |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment