guix-commits
[Top][All Lists]
Advanced

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

04/20: gnu: Add guile-parted.


From: guix-commits
Subject: 04/20: gnu: Add guile-parted.
Date: Wed, 5 Dec 2018 01:28:53 -0500 (EST)

mothacehe pushed a commit to branch wip-newt-installer
in repository guix.

commit a7d42706f91ddaf1bc88d38466e917f0f899503f
Author: Mathieu Othacehe <address@hidden>
Date:   Wed Dec 5 14:15:45 2018 +0900

    gnu: Add guile-parted.
    
    * gnu/packages/guile.scm (guile-parted): New variable.
---
 gnu/packages/guile.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 9a8bb87..6a5fdc8 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -43,6 +43,7 @@
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bdw-gc)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages disk)
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages libffi)
@@ -2362,4 +2363,41 @@ Scheme by using Guileā€™s foreign function interface.")
       (home-page "https://gitlab.com/mothacehe/guile-newt";)
       (license license:gpl3+))))
 
+;; There has not been any release yet.
+(define-public guile-parted
+  (let ((commit "ea3f1a1f6844775fc59d3078d2a09c62ffb341b8")
+        (revision "0"))
+    (package
+      (name "guile-parted")
+      (version (string-append "0-" revision "." (string-take commit 9)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://gitlab.com/mothacehe/guile-parted";)
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "1q7425gpjlwi2wvhzq7kw046yyx7v6j6jyzkd1cr861iz34mjwiq"))))
+      (build-system gnu-build-system)
+      (arguments
+       '(#:make-flags
+         '("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
+      (inputs
+       `(("guile" ,guile-2.2)
+         ("parted" ,parted)))
+      (propagated-inputs
+       `(("guile-bytestructures" ,guile-bytestructures)))
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("pkg-config" ,pkg-config)))
+      (synopsis "Guile bindings to GNU Parted")
+      (description
+       "This package provides bindings for GNU Parted library, a C library
+allowing disk partition tables creation and manipulation. The bindings are
+written in pure Scheme by using Guile's foreign function interface.")
+      (home-page "https://gitlab.com/mothacehe/guile-parted";)
+      (license license:gpl3+))))
 ;;; guile.scm ends here
+



reply via email to

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