-
-
Save infinisil/b01739adc50f12d7ce298b670c7eb7e6 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
let | |
config = { | |
packageOverrides = pkgs: rec { | |
haskellPackages = pkgs.haskellPackages.override { | |
overrides = haskellPackagesNew: haskellPackagesOld: rec { | |
datetime = pkgs.haskell.lib.dontCheck haskellPackagesOld.datetime; | |
}; | |
}; | |
}; | |
}; | |
nixpkgs = (import <nixpkgs> {}).fetchFromGitHub { | |
owner = "NixOS"; | |
repo = "nixpkgs"; | |
rev = "b5ca7fefc45ecec8695685d573db39612e26ae87"; | |
sha256 = "0000000000000000000000000000000000000000000000000000"; | |
}; | |
pkgs = import nixpkgs { inherit config; }; | |
in | |
pkgs.haskellPackages.callPackage ./utleague.nix { } |
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
-- 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: [email protected] | |
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 |
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, 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