nix-serve-ng/nix/nix-serve-ng.nix
2022-06-15 15:40:13 -07:00

21 lines
675 B
Nix

{ mkDerivation, base, base16, base32, bsd-sysctl, bytestring
, http-types, lib, managed, megaparsec, mtl, network, nixstore
, nixutil, optparse-applicative, vector, wai, wai-extra, warp
, warp-tls
}:
mkDerivation {
pname = "nix-serve-ng";
version = "1.0.0";
src = ./.;
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base base16 base32 bsd-sysctl bytestring http-types managed
megaparsec mtl network optparse-applicative vector wai wai-extra
warp warp-tls
];
executableSystemDepends = [ nixstore nixutil ];
description = "A drop-in replacement for nix-serve that's faster and more stable";
license = lib.licenses.asl20;
}