From 3ac5ef6e64a49bb53fff781d436ed980d77b72ac Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 12:55:42 +0000 Subject: [PATCH] servant-blaze: init at 0.9.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/servant-blaze.nix | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 pkgs/servant-blaze.nix diff --git a/manifest.dhall b/manifest.dhall index 3b83334e..95af796b 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -487,6 +487,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/TeofilC/servant" (Some "76fc90a51f915230bbe1e0d1dbe9727fcdc7a0fc") (Some "servant") + , callHackage "servant-blaze" "0.9.1" , callCabal2nix "servant-client-core" "https://github.com/TeofilC/servant" diff --git a/overlay.nix b/overlay.nix index ab640c19..8c09e4d5 100644 --- a/overlay.nix +++ b/overlay.nix @@ -671,6 +671,8 @@ final: prev: with pkgs.haskell.lib; { servant = prev.callPackage (./pkgs/servant.nix) { }; + servant-blaze = prev.callPackage (./pkgs/servant-blaze.nix) { }; + servant-client = prev.callPackage (./pkgs/servant-client.nix) { }; servant-client-core = prev.callPackage (./pkgs/servant-client-core.nix) { }; diff --git a/pkgs/servant-blaze.nix b/pkgs/servant-blaze.nix new file mode 100644 index 00000000..0b89c4a4 --- /dev/null +++ b/pkgs/servant-blaze.nix @@ -0,0 +1,33 @@ +{ mkDerivation +, base +, blaze-html +, http-media +, lib +, servant +, servant-server +, wai +, warp +}: +mkDerivation { + pname = "servant-blaze"; + version = "0.9.1"; + sha256 = "264aa17b95400a13cf23f7421f54b3a3160119c15380a31a96bdfc4a40f2db21"; + revision = "1"; + editedCabalFile = "1y38lzmh5jr3bix0cqrcx9zkjdr1598hz7rvpnm827qw0ln3cmra"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base blaze-html http-media servant ]; + testHaskellDepends = [ base blaze-html servant-server wai warp ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "http://haskell-servant.readthedocs.org/"; + description = "Blaze-html support for servant"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab