stockholm/krebs/5pkgs/haskell/nix-serve-ng.nix

31 lines
1.1 KiB
Nix
Raw Normal View History

2022-09-15 18:29:07 +00:00
{ 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";
2023-09-03 10:36:54 +00:00
version = "1.0.1";
2022-09-15 18:29:07 +00:00
src = fetchgit {
url = "https://github.com/aristanetworks/nix-serve-ng";
2023-09-03 10:36:54 +00:00
sha256 = "sha256-PkzwtjUgYuqfWtCH1nRqVRaajihN1SqMVjWmoSG/CCY=";
rev = "9b546864f4090736f3f9069a01ea5d42cf7bab7c";
2022-09-15 18:29:07 +00:00
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;
}