summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/haskell/nix-serve-ng.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-09-19 11:24:47 +0200
committerlassulus <lassulus@lassul.us>2022-09-19 11:24:47 +0200
commit68bae0b2219d9f8621738062ef9db1703f6e8ca9 (patch)
tree3ff0ee80d273d4ba22e7957e8bfbab9849b87738 /krebs/5pkgs/haskell/nix-serve-ng.nix
parente5aa44907512f0ba97def7549e199d365ff29db6 (diff)
parentd76cf33d1f000389558da8c8f5e17db966b8a5a7 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/5pkgs/haskell/nix-serve-ng.nix')
-rw-r--r--krebs/5pkgs/haskell/nix-serve-ng.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/krebs/5pkgs/haskell/nix-serve-ng.nix b/krebs/5pkgs/haskell/nix-serve-ng.nix
new file mode 100644
index 000000000..8866b205b
--- /dev/null
+++ b/krebs/5pkgs/haskell/nix-serve-ng.nix
@@ -0,0 +1,30 @@
+{ mkDerivation, async, base, base16, base32, bytestring, charset
+, fetchgit, http-client, http-types, lib, managed, megaparsec, mtl
+, network, nix, optparse-applicative, tasty-bench, temporary, text
+, turtle, vector, wai, wai-extra, warp, warp-tls
+, boost
+}:
+mkDerivation {
+ pname = "nix-serve-ng";
+ version = "1.0.0";
+ src = fetchgit {
+ url = "https://github.com/aristanetworks/nix-serve-ng";
+ sha256 = "0mqp67z5mi8rsjahdh395n7ppf0b65k8rd3pvnl281g02rbr69y2";
+ rev = "433f70f4daae156b84853f5aaa11987aa5ce7277";
+ fetchSubmodules = true;
+ };
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base base16 base32 bytestring charset http-types managed megaparsec
+ mtl network optparse-applicative vector wai wai-extra warp warp-tls
+ ];
+ executablePkgconfigDepends = [ nix ];
+ executableSystemDepends = [ boost.dev ];
+ benchmarkHaskellDepends = [
+ async base bytestring http-client tasty-bench temporary text turtle
+ vector
+ ];
+ description = "A drop-in replacement for nix-serve that's faster and more stable";
+ license = lib.licenses.bsd3;
+}