about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2025-07-17 16:17:33 +0100
committerArun Isaac2025-07-17 16:18:43 +0100
commit74815b58025de1371570c557a2576ce4782f963b (patch)
tree81a23c0dd3de90c1039153213cd55fbebd1e67d1
parent402a99a400cc5bfdd27349e8e84d54f46646e78c (diff)
downloadpyhegp-74815b58025de1371570c557a2576ce4782f963b.tar.gz
pyhegp-74815b58025de1371570c557a2576ce4782f963b.tar.lz
pyhegp-74815b58025de1371570c557a2576ce4782f963b.zip
Use python-pytest built with python-hypothesis-next.
* .guix/pyhegp-package.scm: Import python-pytest with guix: prefix.
(python-pytest): New variable.
-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")