about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/hologram/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/hologram/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/hologram/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/hologram/default.nix b/nixpkgs/pkgs/development/python-modules/hologram/default.nix
index 0964bbf89ca4..005834fc99b8 100644
--- a/nixpkgs/pkgs/development/python-modules/hologram/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/hologram/default.nix
@@ -1,10 +1,12 @@
 { lib
 , buildPythonPackage
 , fetchFromGitHub
+, fetchpatch
 , jsonschema
 , pytestCheckHook
 , python-dateutil
 , setuptools
+, wheel
 }:
 
 buildPythonPackage rec {
@@ -19,8 +21,18 @@ buildPythonPackage rec {
     hash = "sha256-DboVCvByI8bTThamGBwSiQADGxIaEnTMmwmVI+4ARgc=";
   };
 
+  patches = [
+    # https://github.com/dbt-labs/hologram/pull/58
+    (fetchpatch {
+      name = "python3.11-test-compatibility.patch";
+      url = "https://github.com/dbt-labs/hologram/commit/84bbe862ef6a2fcc8b8ce85b5c9a006cc7dc1f66.patch";
+      hash = "sha256-t096jJDoKUPED4QHSfVjUMLtUJjWcqjblCtGR8moEJc=";
+    })
+  ];
+
   nativeBuildInputs = [
     setuptools
+    wheel
   ];
 
   propagatedBuildInputs = [