unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* Add GNU fdisk
@ 2012-11-25 22:25 Jason Self
  2012-11-26  0:07 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Jason Self @ 2012-11-25 22:25 UTC (permalink / raw)
  To: bug-guix

[-- Attachment #1: Type: text/plain, Size: 38 bytes --]

I hope that I've done this correctly.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fdisk.patch --]
[-- Type: text/x-patch; name="fdisk.patch", Size: 2263 bytes --]

diff --git a/Makefile.am b/Makefile.am
index b57e7db..d5a4111 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,6 +51,7 @@ MODULES =					\
   distro/packages/cpio.scm			\
   distro/packages/ddrescue.scm			\
   distro/packages/ed.scm			\
+  distro/packages/fdisk.scm                     \
   distro/packages/flex.scm			\
   distro/packages/gawk.scm			\
   distro/packages/gdbm.scm			\
diff --git a/distro/packages/fdisk.scm b/distro/packages/fdisk.scm
new file mode 100644
index 0000000..0d9aebf
--- /dev/null
+++ b/distro/packages/fdisk.scm
@@ -0,0 +1,44 @@
+;;; Guix --- Nix package management from Guile.         -*- coding: utf-8 -*-
+;;;
+;;; This file is part of Guix.
+;;;
+;;; Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (distro packages fdisk)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+(define-public fdisk
+  (package
+    (name "fdisk")
+    (version "2.0.0a1")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append
+            "mirror://gnu/fdisk/fdisk-"
+            version
+            ".tar.gz"))
+      (sha256
+       (base32
+        "MM4TMM3EHA2GIZTGGEYWGNBRGIYTAZTGMY4TSNBXGQZGKOLGHEYGCNZSMRTGIY3CGA2DQMLCMNRTIYRVGMYDEMRTMVSDGNJRGFTGENI="))))
+    (build-system gnu-build-system)
+    (arguments '(#:configure-flags '("CC=gcc")))
+    (home-page "http://www.gnu.org/software/fdisk/")
+    (synopsis
+     "GNU fdisk is a libparted-based partitioning tool.")
+    (description
+     "GNU fdisk GNU fdisk provides libparted-based alternatives to classic partitioning tools like util-linux, fdisk and cfdisk. ")
+    (license "GPLv3+")))

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-11-27 20:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-25 22:25 Add GNU fdisk Jason Self
2012-11-26  0:07 ` Ludovic Courtès
2012-11-26 13:35   ` Nikita Karetnikov
2012-11-26 16:23     ` Ludovic Courtès
2012-11-26 18:47     ` Jason Self
2012-11-26 20:22       ` Ludovic Courtès
2012-11-27 18:29         ` Nikita Karetnikov
2012-11-27 19:15         ` Jason Self
2012-11-27 20:18           ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).