From c1c13166e9c2450141c4a3c3ffb7f895dc5ed611 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 14:43:09 +0000 Subject: [PATCH] tasty-inspection-testing: init at 0.2 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/tasty-inspection-testing.nix | 34 +++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 pkgs/tasty-inspection-testing.nix diff --git a/manifest.dhall b/manifest.dhall index 687818b3..2edbfb6f 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -737,6 +737,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/UnkindPartition/tasty" (None Text) (Some "hunit") + , callHackage "tasty-inspection-testing" "0.2" , callHackage "tasty-kat" "0.0.3" , callHackage "tasty-lua" "1.0.2" , callHackage "tasty-silver" "3.3.1.1" diff --git a/overlay.nix b/overlay.nix index c807bc55..a54b4b76 100644 --- a/overlay.nix +++ b/overlay.nix @@ -1125,6 +1125,8 @@ self: with pkgs.haskell.lib; { tasty-hunit = self.callPackage (./pkgs/tasty-hunit.nix) { }; + tasty-inspection-testing = self.callPackage (./pkgs/tasty-inspection-testing.nix) { }; + tasty-kat = self.callPackage (./pkgs/tasty-kat.nix) { }; tasty-lua = self.callPackage (./pkgs/tasty-lua.nix) { }; diff --git a/pkgs/tasty-inspection-testing.nix b/pkgs/tasty-inspection-testing.nix new file mode 100644 index 00000000..172eae11 --- /dev/null +++ b/pkgs/tasty-inspection-testing.nix @@ -0,0 +1,34 @@ +{ mkDerivation +, base +, ghc +, inspection-testing +, lib +, tasty +, template-haskell +}: +mkDerivation { + pname = "tasty-inspection-testing"; + version = "0.2"; + sha256 = "1f8fa87b808b660c1390406c134758ae269afe9bf0682394e88ebf42ca5bbcbd"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + ghc + inspection-testing + tasty + template-haskell + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/Bodigrim/tasty-inspection-testing"; + description = "Inspection testing support for tasty"; + license = lib.licenses.mit; + broken = false; +} -- GitLab