From edff0a4ebe86075b853626047bb62ef0f1ed492d Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sun, 6 Nov 2022 18:30:10 +0000 Subject: [PATCH] httpd-shed: init at 0.4.1.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/httpd-shed.nix | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 pkgs/httpd-shed.nix diff --git a/manifest.dhall b/manifest.dhall index 6974ddd7..23e3d98d 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -320,6 +320,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "hspec-core" "2.10.0.1" , callHackage "hspec-discover" "2.10.0.1" , callHackage "hspec-meta" "2.9.3" + , callHackage "httpd-shed" "0.4.1.1" , callHackage "http-api-data" "0.5" , callHackage "http-client-tls" "0.3.6.1" , callHackage "http-client" "0.7.13.1" diff --git a/overlay.nix b/overlay.nix index abf2a509..c04991e1 100644 --- a/overlay.nix +++ b/overlay.nix @@ -433,6 +433,8 @@ self: with pkgs.haskell.lib; { http2 = self.callPackage (./pkgs/http2.nix) { }; + httpd-shed = self.callPackage (./pkgs/httpd-shed.nix) { }; + incipit-base = self.callPackage (./pkgs/incipit-base.nix) { }; incipit-core = self.callPackage (./pkgs/incipit-core.nix) { }; diff --git a/pkgs/httpd-shed.nix b/pkgs/httpd-shed.nix new file mode 100644 index 00000000..dc886062 --- /dev/null +++ b/pkgs/httpd-shed.nix @@ -0,0 +1,20 @@ +{ mkDerivation, base, lib, network, network-bsd, network-uri }: +mkDerivation { + pname = "httpd-shed"; + version = "0.4.1.1"; + sha256 = "590fcfcb401923652bfcaf8c9a81b3bbbe83a4b1d16f7ccfecf7e47f6b6cafa5"; + isLibrary = true; + isExecutable = true; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base network network-bsd network-uri ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "A simple web-server with an interact style API"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab