mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
24 lines
876 B
Nix
24 lines
876 B
Nix
|
{ cabal, ansiTerminal, ansiWlPprint, blazeBuilder, blazeHtml
|
||
|
, blazeMarkup, charset, comonad, deepseq, doctest, filepath
|
||
|
, fingertree, hashable, lens, mtl, parsers, reducers, semigroups
|
||
|
, transformers, unorderedContainers, utf8String
|
||
|
}:
|
||
|
|
||
|
cabal.mkDerivation (self: {
|
||
|
pname = "trifecta";
|
||
|
version = "1.1";
|
||
|
sha256 = "19wnblpn31hvdi5dc8ir24s0hfjj4vvzr43gg9ydl2qdjq6s166w";
|
||
|
buildDepends = [
|
||
|
ansiTerminal ansiWlPprint blazeBuilder blazeHtml blazeMarkup
|
||
|
charset comonad deepseq fingertree hashable lens mtl parsers
|
||
|
reducers semigroups transformers unorderedContainers utf8String
|
||
|
];
|
||
|
testDepends = [ doctest filepath ];
|
||
|
meta = {
|
||
|
homepage = "http://github.com/ekmett/trifecta/";
|
||
|
description = "A modern parser combinator library with convenient diagnostics";
|
||
|
license = self.stdenv.lib.licenses.bsd3;
|
||
|
platforms = self.ghc.meta.platforms;
|
||
|
};
|
||
|
})
|