You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
2.0 KiB

  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. (define-module (gnu packages fdisk)
  19. #:use-module ((guix licenses) #:select (gpl3+))
  20. #:use-module ((gnu packages gettext)
  21. #:renamer (symbol-prefix-proc 'guix:))
  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. (define-public fdisk
  29. (package
  30. (name "fdisk")
  31. (version "2.0.0a")
  32. (source
  33. (origin
  34. (method url-fetch)
  35. (uri (string-append "mirror://gnu/fdisk/gnufdisk-"
  36. version ".tar.gz"))
  37. (sha256
  38. (base32
  39. "04nd7civ561x2lwcmxhsqbprml3178jfc58fy1v7hzqg5k4nbhy3"))))
  40. (build-system gnu-build-system)
  41. (inputs
  42. `(("gettext" ,guix:gettext)
  43. ("guile" ,guile-1.8)
  44. ("util-linux" ,util-linux)
  45. ("parted" ,parted)))
  46. (home-page "https://www.gnu.org/software/fdisk/")
  47. (synopsis "Low-level disk partitioning and formatting")
  48. (description
  49. "GNU fdisk provides a GNU version of the common disk partitioning tool
  50. fdisk. fdisk is used for the creation and manipulation of disk partition
  51. tables, and it understands a variety of different formats.")
  52. (license gpl3+)))