From 6b40a3aa1746312c1c34f922a66d0a6e46585b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?James=20=E2=80=98Twey=E2=80=99=20Kay?= Date: Fri, 19 Sep 2014 10:30:55 +0100 Subject: [PATCH 1/2] New Haskell package: tasty-program --- .../libraries/haskell/tasty-program/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/tasty-program/default.nix diff --git a/pkgs/development/libraries/haskell/tasty-program/default.nix b/pkgs/development/libraries/haskell/tasty-program/default.nix new file mode 100644 index 000000000000..60a88315f728 --- /dev/null +++ b/pkgs/development/libraries/haskell/tasty-program/default.nix @@ -0,0 +1,16 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, filepath, tasty }: + +cabal.mkDerivation (self: { + pname = "tasty-program"; + version = "1.0.1"; + sha256 = "04q2pp7hwqiiry17dd3ng0i6ikqzpg7hfgf0ckcg33xw450kpx9n"; + buildDepends = [ filepath tasty ]; + meta = { + homepage = "https://github.com/jstolarek/tasty-program"; + description = "Use tasty framework to test whether a program executes correctly"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) From e4e5b17b8d14abb14f48a453be654d3c5b9a073b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?James=20=E2=80=98Twey=E2=80=99=20Kay?= Date: Fri, 19 Sep 2014 12:18:37 +0100 Subject: [PATCH 2/2] Add tasty-program to haskell-packages --- pkgs/top-level/haskell-packages.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 083d40384b6c..e336e37f60c8 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2457,6 +2457,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in tastyHunit = callPackage ../development/libraries/haskell/tasty-hunit {}; + tastyProgram = callPackage ../development/libraries/haskell/tasty-program {}; + tastyQuickcheck = callPackage ../development/libraries/haskell/tasty-quickcheck {}; tastyRerun = callPackage ../development/libraries/haskell/tasty-rerun {};