Skip to content
Snippets Groups Projects
Commit fe3898ea authored by Daniel Firth's avatar Daniel Firth
Browse files

servant-server: init at 76fc90a51f915230bbe1e0d1dbe9727fcdc7a0fc

parent c10599d1
No related merge requests found
......@@ -297,9 +297,15 @@ in [ callHackage "Cabal" "3.8.1.0"
"https://github.com/TeofilC/servant"
(Some "76fc90a51f915230bbe1e0d1dbe9727fcdc7a0fc")
(Some "servant-foreign")
, callHackage "servant-lucid" "0.9.0.5"
, callHackage "servant-multipart" "0.12.1"
, callHackage "servant-multipart-api" "0.12.1"
, callCabal2nix
"servant-server"
"https://github.com/TeofilC/servant"
(Some "76fc90a51f915230bbe1e0d1dbe9727fcdc7a0fc")
(Some "servant-server")
, callHackage "shake" "0.19.6"
, callHackage "shelly" "1.10.0"
, callHackage "singleton-bool" "0.1.6"
......
......@@ -371,6 +371,8 @@ final: prev: with pkgs.haskell.lib; {
servant-multipart-api = prev.callPackage (./pkgs/servant-multipart-api.nix) { };
servant-server = prev.callPackage (./pkgs/servant-server.nix) { };
shake = prev.callPackage (./pkgs/shake.nix) { };
shelly = prev.callPackage (./pkgs/shelly.nix) { };
......
{ mkDerivation, aeson, base, base-compat, base64-bytestring
, bytestring, constraints, containers, directory, exceptions
, fetchgit, filepath, hspec, hspec-discover, hspec-wai
, http-api-data, http-media, http-types, lib, monad-control, mtl
, network, network-uri, QuickCheck, resourcet, safe, servant
, should-not-typecheck, sop-core, string-conversions, tagged
, temporary, text, transformers, transformers-base
, transformers-compat, wai, wai-app-static, wai-extra, warp, word8
}:
mkDerivation {
pname = "servant-server";
version = "0.19.1";
src = fetchgit {
url = "https://github.com/TeofilC/servant";
sha256 = "0f6vkm44p93ln63plk4vfavadcgxjiqr8xncxrjqzp2mcql6qdmh";
rev = "76fc90a51f915230bbe1e0d1dbe9727fcdc7a0fc";
fetchSubmodules = true;
};
postUnpack = "sourceRoot+=/servant-server/; echo source root reset to $sourceRoot";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base base-compat base64-bytestring bytestring constraints
containers exceptions filepath http-api-data http-media http-types
monad-control mtl network network-uri resourcet servant sop-core
string-conversions tagged text transformers transformers-base wai
wai-app-static word8
];
executableHaskellDepends = [
aeson base base-compat servant text wai warp
];
testHaskellDepends = [
aeson base base-compat base64-bytestring bytestring directory hspec
hspec-wai http-types mtl QuickCheck resourcet safe servant
should-not-typecheck sop-core string-conversions temporary text
transformers transformers-compat wai wai-extra
];
testToolDepends = [ hspec-discover ];
doHaddock = false;
jailbreak = true;
doCheck = false;
hyperlinkSource = false;
homepage = "http://docs.servant.dev/";
description = "A family of combinators for defining webservices APIs and serving them";
license = lib.licenses.bsd3;
mainProgram = "greet";
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment