Skip to content

Instantly share code, notes, and snippets.

@Akii
Created April 18, 2018 20:46
Show Gist options
  • Save Akii/2e18895dc1c52c359e9e486eee0cf48a to your computer and use it in GitHub Desktop.
Save Akii/2e18895dc1c52c359e9e486eee0cf48a to your computer and use it in GitHub Desktop.
let
config = {
packageOverrides = pkgs: rec {
haskellPackages = pkgs.haskellPackages.override {
overrides = haskellPackagesNew: haskellPackagesOld: rec {
datetime = pkgs.haskell.lib.dontCheck haskellPackagesOld.datetime;
};
};
};
};
pkgs = import <nixpkgs> { inherit config; };
in
pkgs.haskellPackages.callPackage ./utleague.nix { }
-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: f783c536c5048a1eb670b27ce18cbf6bfa760cd51b057e8bc93ab91bc6a57443
name: utleague
version: 0.1.0.0
description: Please see the README on Github at <https://github.com/githubuser/utleague#readme>
homepage: https://github.com/githubuser/utleague#readme
bug-reports: https://github.com/githubuser/utleague/issues
author: Author name here
maintainer: example@example.com
copyright: 2018 Author name here
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
ChangeLog.md
README.md
source-repository head
type: git
location: https://github.com/githubuser/utleague
library
hs-source-dirs:
src
default-extensions: NoImplicitPrelude OverloadedStrings
ghc-options: -Wall
build-depends:
aeson
, authenticate
, base >=4.7 && <5
, base64-bytestring
, blaze-html
, blaze-markup
, bytestring
, classy-prelude
, containers
, cookie
, crypto-api
, datetime
, directory
, directory-tree
, exceptions
, filepath
, fsnotify
, http-client
, http-client-tls
, http-types
, megaparsec
, mtl
, network-uri
, pandoc
, scotty ==0.11.1
, scotty-cookie
, servant
, servant-server
, shake
, shakespeare
, split
, stm
, text
, time
, tinylog
, transformers
, unordered-containers
, uri-encode
, uuid
, wai
, wai-extra
, wai-middleware-static
, warp
exposed-modules:
UTLeague
UTLeague.Api.Server
UTLeague.Common.Queue
UTLeague.Common.Repository
UTLeague.Common.Types
UTLeague.Frontend.Authentication
UTLeague.Frontend.Server
UTLeague.Frontend.Session
UTLeague.Frontend.Session.Cookies
UTLeague.Frontend.Session.Manager
UTLeague.Frontend.Session.Middleware
UTLeague.Frontend.Session.Scotty
UTLeague.Frontend.Templates.Profile
UTLeague.Frontend.Types
UTLeague.Template.Compiler
UTLeague.Template.Context
UTLeague.Template.Parser
UTLeague.Template.Rendering
UTLeague.Template.Types
UTLeague.Users.Discord
UTLeague.Users.Profile
UTLeague.Users.Steam
UTLeague.Users.Types
other-modules:
Paths_utleague
default-language: Haskell2010
executable utleague-exe
main-is: Main.hs
hs-source-dirs:
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, utleague
other-modules:
Paths_utleague
default-language: Haskell2010
test-suite utleague-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, utleague
other-modules:
Paths_utleague
default-language: Haskell2010
{ mkDerivation, aeson, authenticate, base, base64-bytestring
, blaze-html, blaze-markup, bytestring, classy-prelude, containers
, cookie, crypto-api, datetime, directory, directory-tree
, exceptions, filepath, fsnotify, http-client, http-client-tls
, http-types, megaparsec, mtl, network-uri, pandoc, scotty
, scotty-cookie, servant, servant-server, shake, shakespeare, split
, stdenv, stm, text, time, tinylog, transformers
, unordered-containers, uri-encode, uuid, wai, wai-extra
, wai-middleware-static, warp
}:
mkDerivation {
pname = "utleague";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson authenticate base base64-bytestring blaze-html blaze-markup
bytestring classy-prelude containers cookie crypto-api datetime
directory directory-tree exceptions filepath fsnotify http-client
http-client-tls http-types megaparsec mtl network-uri pandoc scotty
scotty-cookie servant servant-server shake shakespeare split stm
text time tinylog transformers unordered-containers uri-encode uuid
wai wai-extra wai-middleware-static warp
];
executableHaskellDepends = [ base ];
testHaskellDepends = [ base ];
homepage = "https://github.com/githubuser/utleague#readme";
license = stdenv.lib.licenses.bsd3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment