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 . + +(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+")))