nix-serve-ng/nix/nix-serve-ng.nix
Gabriella Gonzalez 614ed2ca65 Remove dependence on bsd-sysctl package
… since it doesn't work on Linux
2022-06-30 15:59:38 -07:00

20 lines
666 B
Nix

{ mkDerivation, base, base16, base32, bytestring, charset
, 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 bytestring charset 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;
}