diff options
author | Yann Herklotz <git@yannherklotz.com> | 2019-07-20 19:44:11 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2019-07-20 19:44:11 +0100 |
commit | 003203b33ebac04ee6fc933d444584bb1e81f250 (patch) | |
tree | 60b2df5b8f74422c6cc38d8fb789016513b3c3f8 /nix/tomland.nix | |
parent | 7d69341adfef072e46098a5b377a22ab4ce610dd (diff) | |
download | verismith-003203b33ebac04ee6fc933d444584bb1e81f250.tar.gz verismith-003203b33ebac04ee6fc933d444584bb1e81f250.zip |
Add nix style build
Diffstat (limited to 'nix/tomland.nix')
-rw-r--r-- | nix/tomland.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nix/tomland.nix b/nix/tomland.nix new file mode 100644 index 0000000..e771e20 --- /dev/null +++ b/nix/tomland.nix @@ -0,0 +1,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; +} |