From a270894140b17aeab57559c6e9a1606ec6a6356d Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Fri, 21 Oct 2022 20:28:45 +0100
Subject: [PATCH] PyF: init at 0.11.1.0

---
 manifest.dhall |  1 +
 overlay.nix    |  2 ++
 pkgs/PyF.nix   | 22 ++++++++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 pkgs/PyF.nix

diff --git a/manifest.dhall b/manifest.dhall
index 6bb72123..3e47177f 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -69,6 +69,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "JuicyPixels" "3.3.8"
     , callHackage "OneTuple" "0.3.1"
     , callHackage "OpenGLRaw" "3.3.4.1"
+    , callHackage "PyF" "0.11.1.0"
     , callHackage "aeson" "2.1.0.0"
     , callHackage "ansi-terminal" "0.11.3"
     , callHackage "apecs" "0.9.4"
diff --git a/overlay.nix b/overlay.nix
index d4f39e72..0f5cc535 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -21,6 +21,8 @@ final: prev: with pkgs.haskell.lib; {
 
     OpenGLRaw = prev.callPackage (./pkgs/OpenGLRaw.nix) { };
 
+    PyF = prev.callPackage (./pkgs/PyF.nix) { };
+
     aeson = prev.callPackage (./pkgs/aeson.nix) { };
 
     ansi-terminal = prev.callPackage (./pkgs/ansi-terminal.nix) { };
diff --git a/pkgs/PyF.nix b/pkgs/PyF.nix
new file mode 100644
index 00000000..16b9e009
--- /dev/null
+++ b/pkgs/PyF.nix
@@ -0,0 +1,22 @@
+{ mkDerivation, base, bytestring, deepseq, filepath, ghc, ghc-boot
+, hspec, HUnit, lib, mtl, parsec, process, template-haskell
+, temporary, text, time
+}:
+mkDerivation {
+  pname = "PyF";
+  version = "0.11.1.0";
+  sha256 = "8fd451ac23e5e63813c464e1a8ac98ba5c2fb11599441c80fe9ebc0186e61c1f";
+  libraryHaskellDepends = [
+    base bytestring ghc ghc-boot mtl parsec template-haskell text time
+  ];
+  testHaskellDepends = [
+    base bytestring deepseq filepath hspec HUnit process
+    template-haskell temporary text time
+  ];
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  hyperlinkSource = false;
+  description = "Quasiquotations for a python like interpolated string formatter";
+  license = lib.licenses.bsd3;
+}
\ No newline at end of file
-- 
GitLab