From 2e8c5b626cbe4b021b930a3b4a9d13fabb5f6972 Mon Sep 17 00:00:00 2001 From: Oliver Charles Date: Fri, 15 Nov 2013 11:04:12 +0000 Subject: [PATCH] haskellPackages.tastyHspec: New expression --- .../libraries/haskell/tasty-hspec/default.nix | 15 +++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/haskell/tasty-hspec/default.nix diff --git a/pkgs/development/libraries/haskell/tasty-hspec/default.nix b/pkgs/development/libraries/haskell/tasty-hspec/default.nix new file mode 100644 index 000000000000..34b13c69bf6a --- /dev/null +++ b/pkgs/development/libraries/haskell/tasty-hspec/default.nix @@ -0,0 +1,15 @@ +{ cabal, hspec, tasty }: + +cabal.mkDerivation (self: { + pname = "tasty-hspec"; + version = "0.1"; + sha256 = "1pf4ffaqy0f25a2sjirg5g4gdcfslapwq4mm0pkdsysmh9bv1f64"; + buildDepends = [ hspec tasty ]; + meta = { + homepage = "http://github.com/mitchellwrosen/tasty-hspec"; + description = "Hspec support for the Tasty test framework"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index a42b6f88ecd8..3eb55a9f47bf 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2048,6 +2048,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x tastyAntXml = callPackage ../development/libraries/haskell/tasty-ant-xml {}; + tastyHspec = callPackage ../development/libraries/haskell/tasty-hspec {}; + tastyHunit = callPackage ../development/libraries/haskell/tasty-hunit {}; tastySmallcheck = callPackage ../development/libraries/haskell/tasty-smallcheck {};