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+)) | |
21 | #:use-module ((gnu packages gettext) | |
22 | #:renamer (symbol-prefix-proc 'guix:)) | |
23 | #:use-module (gnu packages guile) | |
24 | #:use-module (gnu packages linux) | |
25 | #:use-module (gnu packages parted) | |
26 | #:use-module (guix packages) | |
27 | #:use-module (guix download) | |
28 | #:use-module (guix build-system gnu)) | |
29 | ||
30 | (define-public fdisk | |
31 | (package | |
32 | (name "fdisk") | |
33 | (version "2.0.0a") | |
34 | (source | |
35 | (origin | |
36 | (method url-fetch) | |
37 | (uri (string-append "mirror://gnu/fdisk/gnufdisk-" | |
38 | version ".tar.gz")) | |
39 | (sha256 | |
40 | (base32 | |
41 | "04nd7civ561x2lwcmxhsqbprml3178jfc58fy1v7hzqg5k4nbhy3")))) | |
42 | (build-system gnu-build-system) | |
43 | (inputs | |
44 | `(("gettext" ,guix:gettext) | |
45 | ("guile" ,guile-1.8) | |
46 | ("util-linux" ,util-linux) | |
47 | ("parted" ,parted))) | |
48 | (home-page "https://www.gnu.org/software/fdisk/") | |
f50d2669 | 49 | (synopsis "Low-level disk partitioning and formatting") |
563e8b39 NK |
50 | (description |
51 | "GNU Fdisk provides alternatives to util-linux fdisk and util-linux | |
52 | cfdisk. It uses GNU Parted.") | |
f50d2669 | 53 | (license gpl3+))) |