civodul pushed a commit to branch master
in repository guix.

commit 85817170656cafe9dc5e4d5964cfe0d2b7ae6be8
Author: Simon Tournier <[email protected]>
AuthorDate: Tue Sep 10 03:27:13 2024 +0200

    gnu: farstream: Move common origin from phases to native-inputs.
    
    * gnu/packages/dlang.scm (farstream)[arguments]<phases>: Move common
    origin from here...
    [native-inputs]: ...to here.
    
    Change-Id: I0023bca2fc021b82875b1ec7329c7e37116df0b3
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/freedesktop.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 08b5d7e351..721a0d4c38 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -268,16 +268,8 @@ application-centers for distributions.")
             (lambda _
               (delete-file "autogen.sh")
               (copy-recursively
-               #$(origin
-                   (method git-fetch)
-                   (uri
-                    (git-reference
-                     (url 
"https://gitlab.freedesktop.org/gstreamer/common.git";)
-                     (commit "52adcdb89a9eb527df38c569539d95c1c7aeda6e")))
-                   (file-name (git-file-name "common" "latest.52adcdb"))
-                   (sha256
-                    (base32
-                     "1zlm1q1lgcb76gi82rial5bwy2j9sz1x6x48ijhiz89cml7xxd1r")))
+               #$(this-package-native-input
+                  (git-file-name "common" "latest.52adcdb"))
                "common")))
           (add-after 'unpack 'disable-problematic-tests
             (lambda _
@@ -301,7 +293,17 @@ application-centers for distributions.")
            libxslt
            perl
            pkg-config
-           python-wrapper))
+           python-wrapper
+           (origin
+             (method git-fetch)
+             (uri
+              (git-reference
+               (url "https://gitlab.freedesktop.org/gstreamer/common.git";)
+               (commit "52adcdb89a9eb527df38c569539d95c1c7aeda6e")))
+             (file-name (git-file-name "common" "latest.52adcdb"))
+             (sha256
+              (base32
+               "1zlm1q1lgcb76gi82rial5bwy2j9sz1x6x48ijhiz89cml7xxd1r")))))
     (inputs
      (list glib
            gtk+

Reply via email to