nix-serve-ng/nix/nix-serve-ng.nix
Gabriella Gonzalez c8d0b47a7a Fix nix-serve-ng.cabal
… to use `pkgconfig-depends` instead of `extra-libraries`.

The former works better with both `cabal` and `cabal2nix`
2022-07-01 12:00:26 -07:00

20 lines
652 B
Nix

{ mkDerivation, base, base16, base32, bytestring, charset
, http-types, managed, megaparsec, mtl, network, nix
, optparse-applicative, stdenv, 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
];
executablePkgconfigDepends = [ nix ];
description = "A drop-in replacement for nix-serve that's faster and more stable";
license = stdenv.lib.licenses.asl20;
}