From e61e23b6c7cd31ebe60e3455fe8f88ba666a5e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Mon, 5 May 2014 21:44:28 +0200 Subject: [PATCH] haskell-hcltest: new expression --- .../libraries/haskell/hcltest/default.nix | 22 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/haskell/hcltest/default.nix diff --git a/pkgs/development/libraries/haskell/hcltest/default.nix b/pkgs/development/libraries/haskell/hcltest/default.nix new file mode 100644 index 000000000000..170c885d2405 --- /dev/null +++ b/pkgs/development/libraries/haskell/hcltest/default.nix @@ -0,0 +1,22 @@ +{ cabal, dlist, doctest, either, filepath, free, lens, mmorph +, monadControl, mtl, optparseApplicative, randomShuffle, split, stm +, tagged, tasty, temporary, text, transformers, transformersBase +}: + +cabal.mkDerivation (self: { + pname = "hcltest"; + version = "0.3.1"; + sha256 = "0qnf6ib01njcbjfbwxff8y4sqmrj6nyy9y9hb0l0kw21cxsgl7c9"; + buildDepends = [ + dlist either filepath free lens mmorph monadControl mtl + optparseApplicative randomShuffle split stm tagged tasty temporary + text transformers transformersBase + ]; + testDepends = [ doctest filepath ]; + meta = { + homepage = "http://github.com/bennofs/hcltest/"; + description = "A testing library for command line applications"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index b45dcfc26950..89bc849915dd 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1365,6 +1365,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x hastache = callPackage ../development/libraries/haskell/hastache {}; + hcltest = callPackage ../development/libraries/haskell/hcltest {}; + heredoc = callPackage ../development/libraries/haskell/heredoc {}; hexpat = callPackage ../development/libraries/haskell/hexpat {};