aboutsummaryrefslogtreecommitdiffstats
path: root/nix/tomland.nix
blob: e771e205ef8ac8d3ba4b8f803cf9cb19adabda56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ mkDerivation, aeson, base, bytestring, containers, deepseq
, directory, gauge, hashable, hedgehog, hspec-megaparsec, htoml
, htoml-megaparsec, markdown-unlit, megaparsec, mtl, parsec
, parser-combinators, stdenv, tasty, tasty-discover, tasty-hedgehog
, tasty-hspec, tasty-silver, text, time, toml-parser, transformers
, unordered-containers
}:
mkDerivation {
  pname = "tomland";
  version = "1.1.0.1";
  sha256 = "51cde31c25056c6a0714758eb782bda0c019bdd2ef58f29baf6364cbf6451f46";
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [
    base bytestring containers deepseq hashable megaparsec mtl
    parser-combinators text time transformers unordered-containers
  ];
  executableHaskellDepends = [ base text time unordered-containers ];
  executableToolDepends = [ markdown-unlit ];
  testHaskellDepends = [
    base bytestring containers directory hashable hedgehog
    hspec-megaparsec megaparsec tasty tasty-hedgehog tasty-hspec
    tasty-silver text time unordered-containers
  ];
  testToolDepends = [ tasty-discover ];
  benchmarkHaskellDepends = [
    aeson base deepseq gauge htoml htoml-megaparsec parsec text time
    toml-parser
  ];
  homepage = "https://github.com/kowainik/tomland";
  description = "Bidirectional TOML serialization";
  license = stdenv.lib.licenses.mpl20;
}