Related to #244 This updates Dhall's syntax tree to use an insert-ordered hashmap to store record fields and union alternatives. This in turn implies that they will be formatted in the same order that they were originally parsed. This is a breaking change to the API due to changing the type of map used in the syntax tree.
31 lines
1.2 KiB
Nix
31 lines
1.2 KiB
Nix
{ mkDerivation, ansi-wl-pprint, base, base16-bytestring, bytestring
|
|
, case-insensitive, charset, containers, contravariant, cryptohash
|
|
, deepseq, exceptions, http-client, http-client-tls
|
|
, insert-ordered-containers, lens-family-core, optparse-generic
|
|
, parsers, prettyprinter, stdenv, system-fileio, system-filepath
|
|
, tasty, tasty-hunit, text, text-format, transformers, trifecta
|
|
, unordered-containers, vector
|
|
}:
|
|
mkDerivation {
|
|
pname = "dhall";
|
|
version = "1.9.1";
|
|
src = ./.;
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [
|
|
ansi-wl-pprint base base16-bytestring bytestring case-insensitive
|
|
charset containers contravariant cryptohash exceptions http-client
|
|
http-client-tls insert-ordered-containers lens-family-core parsers
|
|
prettyprinter system-fileio system-filepath text text-format
|
|
transformers trifecta unordered-containers vector
|
|
];
|
|
executableHaskellDepends = [
|
|
base optparse-generic prettyprinter system-filepath text trifecta
|
|
];
|
|
testHaskellDepends = [
|
|
base containers deepseq prettyprinter tasty tasty-hunit text vector
|
|
];
|
|
description = "A configuration language guaranteed to terminate";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
}
|