From 4bb85e729c600e63381509193edd655f4a629c9a Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 18:27:20 +0000 Subject: [PATCH] neat-interpolation: init at 0.5.1.3 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/neat-interpolation.nix | 41 +++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 pkgs/neat-interpolation.nix diff --git a/manifest.dhall b/manifest.dhall index bbf48326..cb8e31ff 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -486,6 +486,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "lucid-svg" "0.7.1" , callHackage "lucid" "2.11.1" , callHackage "lukko" "0.1.1.3" + , callHackage "neat-interpolation" "0.5.1.3" , callHackage "net-mqtt" "0.8.2.2" , callHackage "markdown-unlit" "0.5.1" , callHackage "math-functions" "0.3.4.2" diff --git a/overlay.nix b/overlay.nix index 35d5c98b..c1b49016 100644 --- a/overlay.nix +++ b/overlay.nix @@ -779,6 +779,8 @@ self: with pkgs.haskell.lib; { natural-transformation = self.callPackage (./pkgs/natural-transformation.nix) { }; + neat-interpolation = self.callPackage (./pkgs/neat-interpolation.nix) { }; + net-mqtt = self.callPackage (./pkgs/net-mqtt.nix) { }; network = self.callPackage (./pkgs/network.nix) { }; diff --git a/pkgs/neat-interpolation.nix b/pkgs/neat-interpolation.nix new file mode 100644 index 00000000..be5e3ce2 --- /dev/null +++ b/pkgs/neat-interpolation.nix @@ -0,0 +1,41 @@ +{ mkDerivation +, base +, lib +, megaparsec +, QuickCheck +, quickcheck-instances +, rerebase +, tasty +, tasty-hunit +, tasty-quickcheck +, template-haskell +, text +}: +mkDerivation { + pname = "neat-interpolation"; + version = "0.5.1.3"; + sha256 = "1fab6182a280d48ffffccb7fbe09c4f5bf67f4b29df5d6651d813f1336636507"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base megaparsec template-haskell text ]; + testHaskellDepends = [ + QuickCheck + quickcheck-instances + rerebase + tasty + tasty-hunit + tasty-quickcheck + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/nikita-volkov/neat-interpolation"; + description = "A quasiquoter for neat and simple multiline text interpolation"; + license = lib.licenses.mit; + broken = false; +} -- GitLab