about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.guix/pyhegp-package.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/.guix/pyhegp-package.scm b/.guix/pyhegp-package.scm
index ced8637..cf132c5 100644
--- a/.guix/pyhegp-package.scm
+++ b/.guix/pyhegp-package.scm
@@ -17,7 +17,8 @@
 ;;; along with pyhegp. If not, see <https://www.gnu.org/licenses/>.
 
 (define-module (pyhegp-package)
-  #:use-module ((gnu packages check) #:select (python-hypothesis-next python-pytest))
+  #:use-module ((gnu packages check) #:select (python-hypothesis-next))
+  #:use-module ((gnu packages check) #:select (python-pytest) #:prefix guix:)
   #:use-module ((gnu packages python-build) #:select (python-flit-core))
   #:use-module ((gnu packages python-science) #:select (python-scipy))
   #:use-module ((gnu packages python-xyz) #:select (python-click python-numpy))
@@ -28,6 +29,13 @@
   #:use-module (guix packages)
   #:use-module (guix utils))
 
+(define python-pytest
+  (package
+    (inherit guix:python-pytest)
+    (native-inputs
+     (modify-inputs (package-native-inputs guix:python-pytest)
+       (replace "python-hypothesis" python-hypothesis-next)))))
+
 (define-public python-pyhegp
   (package
     (name "python-pyhegp")