From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: [PATCH] gnu: Add GNU Fdisk. Date: Mon, 04 Mar 2013 12:01:04 +0400 Message-ID: <877glnh9vj.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCQIy-0008Mx-MK for bug-guix@gnu.org; Mon, 04 Mar 2013 02:59:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCQIw-0004IX-48 for bug-guix@gnu.org; Mon, 04 Mar 2013 02:59:28 -0500 Received: from [2a01:7e00::f03c:91ff:fedf:181] (port=36306 helo=cooksoni.karetnikov.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCQIv-0004IM-Sg for bug-guix@gnu.org; Mon, 04 Mar 2013 02:59:26 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= This patch adds GNU Fdisk 2.0.0a. Is it necessary to package the latest version too? (The latest version depends on this one [1].) I'm not sure about the license. 'COPYING' is GPLv3, but sources use GPLv2+. [1] https://lists.gnu.org/archive/html/bug-fdisk/2012-09/msg00000.html --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-GNU-Fdisk.patch Content-Transfer-Encoding: quoted-printable From=2089f13d2ee5ad10e4a6fd6df71d7584d4f7e09176 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Mon, 4 Mar 2013 07:48:14 +0000 Subject: [PATCH] gnu: Add GNU Fdisk. * gnu/packages/fdisk.scm: New file. * Makefile.am (MODULES): Add it. =2D-- Makefile.am | 1 + gnu/packages/fdisk.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 55 insertions(+), 0 deletions(-) create mode 100644 gnu/packages/fdisk.scm diff --git a/Makefile.am b/Makefile.am index b70349a..22e2788 100644 =2D-- a/Makefile.am +++ b/Makefile.am @@ -72,6 +72,7 @@ MODULES =3D \ gnu/packages/ddrescue.scm \ gnu/packages/ed.scm \ gnu/packages/emacs.scm \ + gnu/packages/fdisk.scm \ gnu/packages/file.scm \ gnu/packages/flex.scm \ gnu/packages/fontutils.scm \ diff --git a/gnu/packages/fdisk.scm b/gnu/packages/fdisk.scm new file mode 100644 index 0000000..3cf4e83 =2D-- /dev/null +++ b/gnu/packages/fdisk.scm @@ -0,0 +1,54 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2013 Nikita Karetnikov +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU 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. +;;; +;;; GNU 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 GNU Guix. If not, see . + +(define-module (gnu packages fdisk) + #:use-module ((guix licenses) #:select (gpl2+)) + #:use-module ((gnu packages gettext) + #:renamer (symbol-prefix-proc 'guix:)) + #:use-module (gnu packages guile) + #:use-module (gnu packages linux) + #:use-module (gnu packages parted) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu)) + +(define-public fdisk + (package + (name "fdisk") + (version "2.0.0a") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/fdisk/gnufdisk-" + version ".tar.gz")) + (sha256 + (base32 + "04nd7civ561x2lwcmxhsqbprml3178jfc58fy1v7hzqg5k4nbhy3")))) + (build-system gnu-build-system) + (inputs + `(("gettext" ,guix:gettext) + ("guile" ,guile-1.8) + ("util-linux" ,util-linux) + ("parted" ,parted))) + (home-page "https://www.gnu.org/software/fdisk/") + (synopsis + "GNU Fdisk, a command-line disk partitioning tool") + (description + "GNU Fdisk provides alternatives to util-linux fdisk and util-linux +cfdisk. It uses GNU Parted.") + (license gpl2+))) \ No newline at end of file =2D-=20 1.7.5.4 --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRNFTDAAoJEM+IQzI9IQ38i1EQAIybRkKDjF5V15Cs6GKUEIS9 sCv7Clu4uuFPrU8IL0FbYNw3cXmqMvVlg0gUfWh698gHm72FKHZFKgZ3I1aZtkPI j/8dbcdSwbDUvHxrZo5rbIBNULJb54+J8yMgihnDnqyxv7xt+Q94fhXH0EbIvsGH cMumAF4pPrWt813V1eL19RH0tk791Ai4tkqe35NgKZlmnl4/ttH9e5YdeOEAln1L 2GukwNXkI6u1omfLxVS/oSPeWsIgqQxm9IUJXuIi5MviP6mqyEKFeM39H7smRHKu JCsebrD4pHBvKHA0P8KfwDozouVMYYhuRgo2tS74MK38MquXUjOEchuDHp8267s0 ce5V0GmKFh/y7NNb15IWbxzlerXyPcSmuzeNHzeu69X11UB9jP936xo4sDLsAUU4 VQtNNDhtzA6liAkZ2ed1qJUqJFlhMnFRmDlXPIOkIBzZEZwL5U44GrJ+kkzDcKDm weqyuO25+mMuT5IrnoU4ZiuNeDpv6iX5x09Tf7I3EGpw2YikCFVXRWh4ux06bcCt OVOBZYxtm6Pj3NvcBRM9WmGLLTC9ADDWt933a38F3+dCWAxtGQ/jcUVIfWKQlcbT YimLwkQ6F7d35Bj9zKCWMZgaQU2O7ctwMWd7OKA+4HUOEjyq0Tyip6BszwP3CBhs crpNjs7m9u09HMihgSHc =q4Im -----END PGP SIGNATURE----- --==-=-=--