Last active
August 29, 2015 14:27
-
-
Save codedmart/5c878a53e90f9d003b5e to your computer and use it in GitHub Desktop.
This file contains hidden or 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, attoparsec, base, bytestring | |
| , bytestring-conversion, case-insensitive, directory, doctest | |
| , filemanip, filepath, hspec, http-media, http-types, network-uri | |
| , parsec, QuickCheck, quickcheck-instances, stdenv | |
| , string-conversions, text, url, vault | |
| }: | |
| mkDerivation { | |
| pname = "servant"; | |
| version = "0.5"; | |
| src = ./.; | |
| libraryHaskellDepends = [ | |
| aeson attoparsec base bytestring bytestring-conversion | |
| case-insensitive http-media http-types network-uri | |
| string-conversions text vault | |
| ]; | |
| testHaskellDepends = [ | |
| aeson attoparsec base bytestring directory doctest filemanip | |
| filepath hspec parsec QuickCheck quickcheck-instances | |
| string-conversions text url | |
| ]; | |
| homepage = "http://haskell-servant.github.io/"; | |
| description = "A family of combinators for defining webservices APIs"; | |
| license = stdenv.lib.licenses.bsd3; | |
| } |
This file contains hidden or 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
| /servant | |
| /servant | |
| default.nix | |
| shell.nix | |
| /servant-client | |
| default.nix | |
| shell.nix | |
| /servant-server | |
| default.nix | |
| shell.nix |
This file contains hidden or 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 | |
| pkgs = import <nixpkgs> {}; | |
| haskellPackages = pkgs.haskellPackages.override { | |
| overrides = self: super: { | |
| servant-client = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag (self.callPackage ../servant-client {}) "--ghc-options=-Werror"); | |
| servant-docs = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag (self.callPackage ../servant-docs {}) "--ghc-options=-Werror"); | |
| servant-js = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag (self.callPackage ../servant-js {}) "--ghc-options=-Werror"); | |
| servant-server = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag (self.callPackage ../servant-server {}) "--ghc-options=-Werror"); | |
| servant-examples = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag (self.callPackage ../servant-examples {}) "--ghc-options=-Werror"); | |
| servant-blaze = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag (self.callPackage ../servant-blaze {}) "--ghc-options=-Werror"); | |
| servant-lucid = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag (self.callPackage ../servant-lucid {}) "--ghc-options=-Werror"); | |
| servant-mock = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag (self.callPackage ../servant-mock {}) "--ghc-options=-Werror"); | |
| servant = pkgs.haskell.lib.appendConfigureFlag (self.callPackage ./. {}) "--ghc-options=-Werror"; | |
| }; | |
| }; | |
| in haskellPackages.servant.env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment