summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/optparse-applicative/default.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-02-24 22:09:07 +0100
committerPeter Simons <simons@cryp.to>2013-02-25 00:32:40 +0100
commita30df956918aab12b7e83539ca98dafa9a829af4 (patch)
tree981222687f44e0b24f1cbdd095127c4c6e630b49 /pkgs/development/libraries/haskell/optparse-applicative/default.nix
parentd0bfd6936e640db813c21d6c6fc34421ff49e941 (diff)
downloadnixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.gz
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.bz2
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.lz
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.xz
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.zst
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.zip
Re-generate all Haskell packages with the latest version of cabal2nix.
This change brings support for building and running the regressions test suites.
Diffstat (limited to 'pkgs/development/libraries/haskell/optparse-applicative/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/optparse-applicative/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/haskell/optparse-applicative/default.nix b/pkgs/development/libraries/haskell/optparse-applicative/default.nix
index 3e04a33990e..46f530b8cd4 100644
--- a/pkgs/development/libraries/haskell/optparse-applicative/default.nix
+++ b/pkgs/development/libraries/haskell/optparse-applicative/default.nix
@@ -1,10 +1,15 @@
-{ cabal, transformers }:
+{ cabal, HUnit, testFramework, testFrameworkHunit
+, testFrameworkThPrime, transformers
+}:
 
 cabal.mkDerivation (self: {
   pname = "optparse-applicative";
   version = "0.5.2.1";
   sha256 = "0w4mk851mx8dch8lnck0g82asmzrsc47xrf34jygh0f6v4kbj40i";
   buildDepends = [ transformers ];
+  testDepends = [
+    HUnit testFramework testFrameworkHunit testFrameworkThPrime
+  ];
   meta = {
     homepage = "https://github.com/pcapriotti/optparse-applicative";
     description = "Utilities and combinators for parsing command line options";