about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2026-03-23 18:22:31 +0000
committerArun Isaac2026-03-23 18:30:07 +0000
commit02703ddb55288c3abacb6b3c91e52f28d66568f6 (patch)
treec8f47d47c2496d4ca1a03463c1e0e9ef06a3ebb3
parentee4184874075f0bc4aa2890c847044eae3834798 (diff)
downloadravanan-02703ddb55288c3abacb6b3c91e52f28d66568f6.tar.gz
ravanan-02703ddb55288c3abacb6b3c91e52f28d66568f6.tar.lz
ravanan-02703ddb55288c3abacb6b3c91e52f28d66568f6.zip
guix: Get cwltest source from git.
Upstream Guix now prefers fetching the source from git instead of from
PyPI. Let's stay in line with this policy update.
-rw-r--r--.guix/cwltest-package.scm19
1 files changed, 11 insertions, 8 deletions
diff --git a/.guix/cwltest-package.scm b/.guix/cwltest-package.scm
index f3eeb9d..43d21f6 100644
--- a/.guix/cwltest-package.scm
+++ b/.guix/cwltest-package.scm
@@ -1,5 +1,5 @@
 ;;; ravanan --- High-reproducibility CWL runner powered by Guix
-;;; Copyright © 2025 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2025, 2026 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of ravanan.
 ;;;
@@ -28,8 +28,8 @@
   #:use-module ((gnu packages xml) #:select (python-defusedxml))
   #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
-  #:use-module (guix download)
   #:use-module (guix gexp)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages))
 
@@ -55,12 +55,15 @@
   (package
     (name "cwltest")
     (version "2.6.20250314152537")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "cwltest" version))
-       (sha256
-        (base32 "0h2w9bllb6cz8d5pja5lbbd1kj08yga40jdi3300anwllczcnfq6"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/common-workflow-language/cwltest")
+                     (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0afhjy5wgh7iinal3vrwrh7c4flx2jxlwnhvbjiw41qvdavlvx4g"))))
     (build-system pyproject-build-system)
     (arguments
      (list #:modules `((rnrs io ports)