Commit | Line | Data |
---|---|---|
563e8b39 NK |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages fdisk) | |
20 | #:use-module ((guix licenses) #:select (gpl3+)) | |
1dba6407 | 21 | #:use-module (gnu packages gettext) |
563e8b39 NK |
22 | #:use-module (gnu packages guile) |
23 | #:use-module (gnu packages linux) | |
24 | #:use-module (gnu packages parted) | |
25 | #:use-module (guix packages) | |
26 | #:use-module (guix download) | |
27 | #:use-module (guix build-system gnu)) | |
28 | ||
29 | (define-public fdisk | |
30 | (package | |
31 | (name "fdisk") | |
32 | (version "2.0.0a") | |
33 | (source | |
34 | (origin | |
35 | (method url-fetch) | |
36 | (uri (string-append "mirror://gnu/fdisk/gnufdisk-" | |
37 | version ".tar.gz")) | |
38 | (sha256 | |
39 | (base32 | |
40 | "04nd7civ561x2lwcmxhsqbprml3178jfc58fy1v7hzqg5k4nbhy3")))) | |
41 | (build-system gnu-build-system) | |
42 | (inputs | |
1dba6407 | 43 | `(("gettext" ,gnu-gettext) |
563e8b39 NK |
44 | ("guile" ,guile-1.8) |
45 | ("util-linux" ,util-linux) | |
46 | ("parted" ,parted))) | |
47 | (home-page "https://www.gnu.org/software/fdisk/") | |
f50d2669 | 48 | (synopsis "Low-level disk partitioning and formatting") |
563e8b39 | 49 | (description |
a22dc0c4 LC |
50 | "GNU fdisk provides a GNU version of the common disk partitioning tool |
51 | fdisk. fdisk is used for the creation and manipulation of disk partition | |
52 | tables, and it understands a variety of different formats.") | |
f50d2669 | 53 | (license gpl3+))) |