guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: renameat2: Move to (gnu packages linux).


From: guix-commits
Subject: branch master updated: gnu: renameat2: Move to (gnu packages linux).
Date: Sun, 18 Jun 2023 22:32:44 -0400

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new dc90c0807d gnu: renameat2: Move to (gnu packages linux).
dc90c0807d is described below

commit dc90c0807d0a46cdd4b0a2c2b3f9becca9f97285
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jun 18 22:30:34 2023 -0400

    gnu: renameat2: Move to (gnu packages linux).
    
    Being Linux-specific, that's probably a better home.
    
    * gnu/packages/c.scm (renameat2): Move to...
    * gnu/packages/linux.scm (renameat2): ... here.
---
 gnu/packages/c.scm     | 35 -----------------------------------
 gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index e04538d8f3..e8bde0133d 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -1375,41 +1375,6 @@ sequentially or in parallel, with optional 
synchronization in between, and GCD
 will take care of dispatching tasks to available cores.")
     (license license:asl2.0)))
 
-(define-public renameat2
-  ;; This is a Gist, with no release or tags.
-  (let ((revision "0")
-        (commit "5c5193f20142511a5fc7069a539f4e5aba0ea470"))
-    (package
-      (name "renameat2")
-      (version (git-version "0.0.0" revision commit))
-      (source (origin
-                (method url-fetch)
-                (uri (string-append "https://gist.githubusercontent.com/";
-                                    "eatnumber1/f97ac7dad7b1f5a9721f/raw/"
-                                    commit "/renameat2.c"))
-                (sha256
-                 (base32
-                  "07b4hsxqjm610sdkm4nxhp0gnl2s7gzlh4zdnja5ay40v4x24bb9"))))
-      (build-system gnu-build-system)
-      (arguments
-       (list
-        #:tests? #f                     ;no test suite
-        #:phases #~(modify-phases %standard-phases
-                     (delete 'configure)
-                     (replace 'build
-                       (lambda _
-                         (invoke #$(cc-for-target) "renameat2.c"
-                                 "-o" "renameat2")))
-                     (replace 'install
-                       (lambda _
-                         (install-file "renameat2"
-                                       (string-append #$output "/bin")))))))
-      (home-page "https://gist.github.com/eatnumber1/f97ac7dad7b1f5a9721f";)
-      (synopsis "Command to call the renameat2 Linux system call")
-      (description "This package provides a @command{renameat2} command that
-calls the Linux-specific @code{renameat2} system call.")
-      (license license:expat))))
-
 (define-public utf8-h
   ;; The latest tag is used as there is no release.
   (let ((commit "500d4ea9f4c3449e5243c088d8af8700f7189734")
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 546436151c..52fb883467 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9737,6 +9737,41 @@ These trace events are logged in 
@file{/sys/kernel/debug/tracing} and reported
 through standard log mechanisms like syslog.")
     (license license:gpl2)))
 
+(define-public renameat2
+  ;; This is a Gist, with no release or tags.
+  (let ((revision "0")
+        (commit "5c5193f20142511a5fc7069a539f4e5aba0ea470"))
+    (package
+      (name "renameat2")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method url-fetch)
+                (uri (string-append "https://gist.githubusercontent.com/";
+                                    "eatnumber1/f97ac7dad7b1f5a9721f/raw/"
+                                    commit "/renameat2.c"))
+                (sha256
+                 (base32
+                  "07b4hsxqjm610sdkm4nxhp0gnl2s7gzlh4zdnja5ay40v4x24bb9"))))
+      (build-system gnu-build-system)
+      (arguments
+       (list
+        #:tests? #f                     ;no test suite
+        #:phases #~(modify-phases %standard-phases
+                     (delete 'configure)
+                     (replace 'build
+                       (lambda _
+                         (invoke #$(cc-for-target) "renameat2.c"
+                                 "-o" "renameat2")))
+                     (replace 'install
+                       (lambda _
+                         (install-file "renameat2"
+                                       (string-append #$output "/bin")))))))
+      (home-page "https://gist.github.com/eatnumber1/f97ac7dad7b1f5a9721f";)
+      (synopsis "Command to call the renameat2 Linux system call")
+      (description "This package provides a @command{renameat2} command that
+calls the Linux-specific @code{renameat2} system call.")
+      (license license:expat))))
+
 (define-public libgpiod
   (package
     (name "libgpiod")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]