2013-02-15 05:46:29 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2014-06-03 16:12:05 -04:00
|
|
|
|
;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
2015-11-20 19:07:03 -05:00
|
|
|
|
;;; Copyright © 2015 Mathieu Lirzin <mthl@gnu.org>
|
2015-05-07 00:53:48 -04:00
|
|
|
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
2022-04-30 20:00:05 -04:00
|
|
|
|
;;; Copyright © 2016, 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
2023-07-20 10:43:15 -04:00
|
|
|
|
;;; Copyright © 2016, 2019-2021, 2023 Efraim Flashner <efraim@flashner.co.il>
|
2023-05-23 08:29:21 -04:00
|
|
|
|
;;; Copyright © 2016, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
2016-08-21 17:39:19 -04:00
|
|
|
|
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
2017-02-06 06:54:57 -05:00
|
|
|
|
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
|
2017-05-07 14:45:39 -04:00
|
|
|
|
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2017-09-14 14:55:01 -04:00
|
|
|
|
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
2018-03-28 15:25:05 -04:00
|
|
|
|
;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
|
2018-04-24 19:44:38 -04:00
|
|
|
|
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
|
2018-06-04 10:31:58 -04:00
|
|
|
|
;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com>
|
2020-08-06 06:28:29 -04:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
2021-04-27 23:39:53 -04:00
|
|
|
|
;;; Copyright © 2019, 2021 Leo Famulari <leo@famulari.name>
|
2019-07-07 08:25:08 -04:00
|
|
|
|
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
|
2020-01-30 06:28:16 -05:00
|
|
|
|
;;; Copyright © 2020 Pkill -9 <pkill9@runbox.com>
|
2020-04-04 13:49:16 -04:00
|
|
|
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
2020-04-09 11:20:12 -04:00
|
|
|
|
;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
|
2021-01-26 02:56:13 -05:00
|
|
|
|
;;; Copyright © 2021 Michael Rohleder <mike@rohleder.de>
|
2021-05-12 10:38:56 -04:00
|
|
|
|
;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
|
2021-06-13 03:37:31 -04:00
|
|
|
|
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
2021-12-15 16:21:06 -05:00
|
|
|
|
;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
|
2022-05-22 15:53:42 -04:00
|
|
|
|
;;; Copyright © 2014, 2022 Ludovic Courtès <ludo@gnu.org>
|
2022-02-22 23:19:28 -05:00
|
|
|
|
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2022-01-03 18:37:55 -05:00
|
|
|
|
;;; Copyright © 2022 Disseminate Dissent <disseminatedissent@protonmail.com>
|
2023-05-23 10:25:28 -04:00
|
|
|
|
;;; Copyright © 2023 Timotej Lazar <timotej.lazar@araneo.si>
|
2023-10-20 13:55:53 -04:00
|
|
|
|
;;; Copyright © 2023 Morgan Smith <Morgan.J.Smith@outlook.com>
|
2023-12-28 10:58:59 -05:00
|
|
|
|
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
|
2024-04-06 05:32:09 -04:00
|
|
|
|
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
|
2013-02-15 05:46:29 -05:00
|
|
|
|
;;;
|
|
|
|
|
;;; 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 <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(define-module (gnu packages disk)
|
2016-06-16 17:58:45 -04:00
|
|
|
|
#:use-module (gnu packages)
|
2023-05-23 10:25:28 -04:00
|
|
|
|
#:use-module (gnu packages admin)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2016-08-21 17:39:19 -04:00
|
|
|
|
#:use-module (gnu packages base)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages bash)
|
2022-08-13 08:28:50 -04:00
|
|
|
|
#:use-module (gnu packages build-tools)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages c)
|
2018-04-24 19:44:38 -04:00
|
|
|
|
#:use-module (gnu packages check)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages compression)
|
2019-02-14 22:54:53 -05:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages cryptsetup)
|
2021-06-13 03:37:31 -04:00
|
|
|
|
#:use-module (gnu packages databases)
|
2016-08-21 17:39:19 -04:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2019-01-07 08:28:46 -05:00
|
|
|
|
#:use-module (gnu packages elf)
|
2020-04-14 15:01:43 -04:00
|
|
|
|
#:use-module (gnu packages file-systems)
|
2020-05-05 11:22:01 -04:00
|
|
|
|
#:use-module (gnu packages file)
|
2020-04-09 11:20:12 -04:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2023-10-20 13:55:53 -04:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
gnu: gettext: Rename binding to 'gnu-gettext'.
* gnu/packages/gettext.scm (gettext): Rename to...
(gnu-gettext): ... this. This is used to work around the circular
dependency introduced in commit c42a4b7, which users with a #:renamer
cannot cope with.
* gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/cdrom.scm,
gnu/packages/fdisk.scm, gnu/packages/gkrellm.scm, gnu/packages/glib.scm,
gnu/packages/gnunet.scm, gnu/packages/grub.scm, gnu/packages/linux.scm,
gnu/packages/maths.scm, gnu/packages/nano.scm, gnu/packages/parted.scm,
gnu/packages/system.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/wget.scm:
Adjust accordingly.
2013-11-20 16:12:49 -05:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2016-08-21 17:39:19 -04:00
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gnome)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2021-10-08 15:18:25 -04:00
|
|
|
|
#:use-module (gnu packages golang)
|
2024-02-10 12:34:47 -05:00
|
|
|
|
#:use-module (gnu packages golang-build)
|
2024-04-06 03:44:15 -04:00
|
|
|
|
#:use-module (gnu packages golang-xyz)
|
2020-04-09 11:20:12 -04:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages guile)
|
2023-05-23 08:29:21 -04:00
|
|
|
|
#:use-module (gnu packages hurd)
|
2022-02-22 23:19:28 -05:00
|
|
|
|
#:use-module (gnu packages image)
|
2023-10-20 13:55:53 -04:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
2013-02-15 05:46:29 -05:00
|
|
|
|
#:use-module (gnu packages linux)
|
2016-06-16 17:58:45 -04:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
gnu: Move nss & co. to nss.scm.
* gnu/packages/gnuzilla.scm (nspr, nss): Move to...
* gnu/packages/nss.scm: ... here. New file.
* gnu/packages/chromium.scm, gnu/packages/disk.scm,
gnu/packages/freedesktop.scm, gnu/packages/gnome.scm,
gnu/packages/gnunet.scm, gnu/packages/java.scm,
gnu/packages/libreoffice.scm, gnu/packages/linux.scm,
gnu/packages/mate.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/password-utils.scm,
gnu/packages/polkit.scm, gnu/packages/qt.scm,
gnu/packages/sssd.scm, gnu/packages/storage.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust
accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm.
2019-04-04 09:14:57 -04:00
|
|
|
|
#:use-module (gnu packages nss)
|
2015-11-20 19:07:03 -05:00
|
|
|
|
#:use-module (gnu packages perl)
|
2021-12-15 16:21:06 -05:00
|
|
|
|
#:use-module (gnu packages perl-web)
|
2016-08-21 17:39:19 -04:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2016-06-16 17:58:45 -04:00
|
|
|
|
#:use-module (gnu packages popt)
|
2015-11-20 19:07:03 -05:00
|
|
|
|
#:use-module (gnu packages python)
|
2023-05-25 15:17:05 -04:00
|
|
|
|
#:use-module (gnu packages python-build)
|
|
|
|
|
#:use-module (gnu packages python-crypto)
|
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2021-12-15 16:21:06 -05:00
|
|
|
|
#:use-module (gnu packages qt)
|
2014-06-03 16:12:05 -04:00
|
|
|
|
#:use-module (gnu packages readline)
|
2020-04-14 15:01:43 -04:00
|
|
|
|
#:use-module (gnu packages samba)
|
2021-07-29 15:34:46 -04:00
|
|
|
|
#:use-module (gnu packages serialization)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 16:56:54 -04:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages swig)
|
2020-01-30 06:28:16 -05:00
|
|
|
|
#:use-module (gnu packages terminals)
|
|
|
|
|
#:use-module (gnu packages textutils)
|
2022-02-22 23:19:28 -05:00
|
|
|
|
#:use-module (gnu packages tls)
|
2017-02-06 06:54:57 -05:00
|
|
|
|
#:use-module (gnu packages vim)
|
2018-06-04 10:31:58 -04:00
|
|
|
|
#:use-module (gnu packages w3m)
|
2018-06-28 16:45:08 -04:00
|
|
|
|
#:use-module (gnu packages web)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (gnu packages xml)
|
2020-04-09 11:20:12 -04:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2020-07-14 09:43:31 -04:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2020-01-30 06:28:16 -05:00
|
|
|
|
#:use-module (guix build-system go)
|
2022-06-04 20:00:06 -04:00
|
|
|
|
#:use-module (guix build-system meson)
|
2023-10-20 13:55:53 -04:00
|
|
|
|
#:use-module (guix build-system perl)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (guix build-system python)
|
|
|
|
|
#:use-module (guix build-system trivial)
|
2019-01-07 08:28:46 -05:00
|
|
|
|
#:use-module (guix build-system scons)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (guix download)
|
2021-12-21 21:52:16 -05:00
|
|
|
|
#:use-module (guix gexp)
|
2018-10-10 16:10:52 -04:00
|
|
|
|
#:use-module (guix git-download)
|
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2020-11-07 08:46:36 -05:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix utils))
|
2013-02-15 05:46:29 -05:00
|
|
|
|
|
2020-11-19 13:01:25 -05:00
|
|
|
|
(define-public bcache-tools
|
|
|
|
|
;; The 1.1 release is a year old and missing new features & documentation.
|
|
|
|
|
(let ((commit "096d205a9f1be8540cbc5a468c0da8203023de70")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "bcache-tools")
|
|
|
|
|
(version (git-version "1.1" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url (string-append "https://git.kernel.org/pub/scm/"
|
|
|
|
|
"linux/kernel/git/colyli/bcache-tools.git"))
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0r0vwg4vacz5zgsafk360xn7gi2scy01c79mkmjrdyxjfij5z3iy"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test suite
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "UDEVLIBDIR=" (assoc-ref %outputs "out")
|
|
|
|
|
"/lib/udev")
|
|
|
|
|
(string-append "DRACUTLIBDIR=" (assoc-ref %outputs "out")
|
|
|
|
|
"/lib/dracut")
|
|
|
|
|
(string-append "CC=" ,(cc-for-target)))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'install 'fix-hard-coded-file-names
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Some rules still hard-code /usr.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr") "${PREFIX}"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'create-target-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(mkdir-p (string-append out dir)))
|
|
|
|
|
(list "/lib/udev/rules.d"
|
|
|
|
|
"/sbin"
|
|
|
|
|
"/share/man/man8"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2020-11-19 13:01:25 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("util-linux:lib" ,util-linux "lib"))) ; libblkid
|
|
|
|
|
(home-page "https://bcache.evilpiepirate.org")
|
|
|
|
|
(synopsis "Tools for the Linux kernel block layer cache")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains user-space utilities to create and inspect bcache
|
|
|
|
|
partitions. It's rather minimal as bcache is designed to work well without
|
|
|
|
|
configuration on any system.
|
|
|
|
|
|
|
|
|
|
Linux's @acronym{bcache, block layer cache} lets one or more fast block devices,
|
|
|
|
|
such as flash-based @acronym{SSDs, solid state drives}, to act as a cache for
|
|
|
|
|
one or more slower (and inexpensive) devices, such as hard disk drives or
|
|
|
|
|
redundant storage arrays. In fact, bcache intends to be a superior alternative
|
|
|
|
|
to battery-backed RAID controllers.
|
|
|
|
|
|
|
|
|
|
Bcache is designed around the performance characteristics of SSDs and tries to
|
|
|
|
|
minimize write inflation. It's file-system agnostic and does both write-through
|
|
|
|
|
and write-back caching.")
|
|
|
|
|
(license license:gpl2))))
|
|
|
|
|
|
2020-04-14 15:01:43 -04:00
|
|
|
|
(define-public udevil
|
|
|
|
|
(package
|
|
|
|
|
(name "udevil")
|
|
|
|
|
(version "0.4.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/IgnorantGuru/udevil")
|
2020-04-14 15:01:43 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0x9mjr9abvbxzfa9mrip5264iz1qxvsl01k3ybz95q4a7xl4jcb3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2020-04-28 02:29:36 -04:00
|
|
|
|
(list
|
|
|
|
|
"--disable-systemd"
|
|
|
|
|
(string-append "--sysconfdir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/etc")
|
2024-08-17 20:00:00 -04:00
|
|
|
|
;; udevil expects these programs to be run with an UID of root.
|
|
|
|
|
;; mount and umount are %default-privileged-programs on Guix System;
|
|
|
|
|
;; the others must be explicitly added if desired.
|
2022-05-28 20:01:19 -04:00
|
|
|
|
"--with-mount-prog=/run/privileged/bin/mount"
|
|
|
|
|
"--with-umount-prog=/run/privileged/bin/umount"
|
|
|
|
|
"--with-losetup-prog=/run/privileged/bin/losetup"
|
|
|
|
|
"--with-setfacl-prog=/run/privileged/bin/setfacl")
|
2020-04-14 15:01:43 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-root-reference
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/Makefile.in"
|
|
|
|
|
(("-o root -g root") ""))
|
2020-04-28 02:29:36 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'patch-udevil-reference
|
|
|
|
|
;; udevil expects itself to be run with uid set as root.
|
|
|
|
|
;; devmon also expects udevil to be run with uid set as root.
|
2022-05-28 20:01:19 -04:00
|
|
|
|
;; user has to manually add udevil to privileged-programs.
|
2020-04-28 02:29:36 -04:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/udevil.c"
|
2022-05-28 20:01:19 -04:00
|
|
|
|
(("/usr/bin/udevil") "/run/privileged/bin/udevil"))
|
2020-04-28 02:29:36 -04:00
|
|
|
|
(substitute* "src/devmon"
|
2022-05-28 20:01:19 -04:00
|
|
|
|
(("`which udevil 2>/dev/null`") "/run/privileged/bin/udevil"))
|
2020-04-14 15:01:43 -04:00
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list intltool pkg-config))
|
2020-04-14 15:01:43 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list cifs-utils
|
|
|
|
|
curlftpfs
|
|
|
|
|
eudev
|
|
|
|
|
fakeroot
|
|
|
|
|
glib
|
|
|
|
|
sshfs))
|
2020-04-14 15:01:43 -04:00
|
|
|
|
(synopsis "Device and file system manager")
|
|
|
|
|
(description "udevil is a command line program that mounts and unmounts
|
|
|
|
|
removable devices without a password, shows device info, and monitors device
|
|
|
|
|
changes. It can also mount ISO files, NFS, SMB, FTP, SSH and WebDAV URLs, and
|
|
|
|
|
tmpfs/ramfs filesystems.")
|
|
|
|
|
(home-page "https://ignorantguru.github.io/udevil/")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2013-02-15 05:46:29 -05:00
|
|
|
|
(define-public parted
|
|
|
|
|
(package
|
|
|
|
|
(name "parted")
|
2023-07-22 20:00:00 -04:00
|
|
|
|
(version "3.6")
|
2015-11-20 19:07:03 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/parted/parted-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-07-22 20:00:00 -04:00
|
|
|
|
"04p6b4rygrfd1jrskwrx3bn2icajg1mvbfhyc0c9l3ya7kixnhrv"))))
|
2013-02-15 05:46:29 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2015-11-20 19:07:03 -05:00
|
|
|
|
(arguments
|
2023-05-23 08:29:21 -04:00
|
|
|
|
(list
|
|
|
|
|
#:configure-flags (if (target-hurd?)
|
|
|
|
|
#~'("--disable-device-mapper")
|
|
|
|
|
#~'())
|
2023-07-20 10:43:15 -04:00
|
|
|
|
#:tests? (not (or (target-hurd?)
|
|
|
|
|
(%current-target-system)))
|
2023-05-23 08:29:21 -04:00
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-locales-and-python
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/t0251-gpt-unicode.sh"
|
|
|
|
|
(("C.UTF-8") "en_US.utf8")) ;not in Glibc locales
|
|
|
|
|
(substitute* "tests/msdos-overlap"
|
|
|
|
|
(("/usr/bin/python") (which "python"))))))))
|
2013-02-15 05:46:29 -05:00
|
|
|
|
(inputs
|
2023-05-23 08:29:21 -04:00
|
|
|
|
`(,@(if (target-hurd?)
|
|
|
|
|
(list hurd-minimal)
|
|
|
|
|
(list lvm2))
|
|
|
|
|
,readline
|
|
|
|
|
(,util-linux "lib")))
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 06:01:56 -05:00
|
|
|
|
(native-inputs
|
2022-05-07 20:00:03 -04:00
|
|
|
|
(list gettext-minimal
|
gnu: util-linux: Move libraries to separate output.
Fixes <https://bugs.gnu.org/37732>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.
* gnu/packages/linux.scm (util-linux)[outputs]: Add "lib".
[arguments]: Update #:configure-flags and the "move-static-libraries" phase
accordingly. Add phases "patch-build-scripts" and "adjust-pkg-config-files".
(e2fsprogs, psm, mtd-utils, f2fs-tools, f2fs-tools-1.7, eudev,
xfsprogs)[inputs]: Change to the "lib" output of UTIL-LINUX.
(btrfs-progs)[inputs]: Remove duplicate UTIL-LINUX inputs and change to use
the "lib" output.
* gnu/packages/admin.scm (pam-mount)[inputs]: Add UTIL-LINUX:LIB.
(testdisk)[inputs]: Change to the "lib" output of UTIL-LINUX.
* gnu/packages/android.scm (abootimg)[inputs]: Likewise.
* gnu/packages/audio.scm (jack-1)[propagated-inputs]: Likewise.
* gnu/packages/bootloaders.scm (syslinux, vboot-utils)[inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Likewise.
* gnu/packages/cryptsetup.scm (cryptsetup, cryptsetup-static)[inputs]: Likewise.
* gnu/packages/databases.scm (postgresql, 4store)[inputs]: Likewise.
* gnu/packages/disk.scm (ndctl, gptfdisk, fdisk, gparted, rmlint,
volume-key)[inputs]: Likewise.
(parted)[inputs]: Likewise.
[native-inputs]: Add UTIL-LINUX.
* gnu/packages/efi.scm (sbsigntools)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/engineering.scm (lib3mf)[inputs]: Change to the "lib" output of
UTIL-LINUX.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/file-systems.scm (glusterfs, jfsutils, zfs)[inputs]: Likewise.
* gnu/packages/firmware.scm (ovmf)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Likewise.
* gnu/packages/freedesktop.scm (localed)[inputs]: Likewise.
* gnu/packages/glib.scm (glib, appstream-glib)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (tracker, gnome-terminal)[inputs]: Likewise.
* gnu/packages/jupyter.scm (xeus)[inputs]: Likewise.
* gnu/packages/kde.scm (kpmcore)[inputs]: Likewise.
* gnu/packages/kodi.scm (crossguid)[inputs]: Likewise.
* gnu/packages/lighting.scm (ola)[inputs]: Likewise.
* gnu/packages/music.scm (libgig)[inputs]: Likewise.
* gnu/packages/nfs.scm (nfs-utils)[inputs]: Likewise.
* gnu/packages/opencog.scm (opencog)[inputs]: Likewise.
* gnu/packages/package-management.scm (msitools)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/password-utils.scm (pwsafe)[inputs]: Likewise.
* gnu/packages/telephony.scm (pjproject)[propagated-inputs]: Likewise.
* gnu/packages/rdf.scm (rasqal)[inputs]: Likewise.
* gnu/packages/search.scm (xapian)[inputs]: Likewise.
* gnu/packages/sssd.scm (sssd)[native-inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/task-management.scm (taskwarrior)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/virtualization.scm (libvirt, xen)[inputs]: Likewise.
* gnu/packages/xorg.scm (libsm)[inputs]: Likewise.
2020-01-14 18:24:28 -05:00
|
|
|
|
|
2022-05-07 20:00:03 -04:00
|
|
|
|
;; For the tests.
|
|
|
|
|
e2fsprogs
|
|
|
|
|
perl
|
|
|
|
|
python-wrapper
|
|
|
|
|
util-linux))
|
2022-11-10 12:15:48 -05:00
|
|
|
|
(outputs '("out" "debug"))
|
2015-11-20 19:07:03 -05:00
|
|
|
|
(home-page "https://www.gnu.org/software/parted/")
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 12:04:25 -04:00
|
|
|
|
(synopsis "Disk partition editor")
|
2013-02-15 05:46:29 -05:00
|
|
|
|
(description
|
2013-12-01 16:33:23 -05:00
|
|
|
|
"GNU Parted is a package for creating and manipulating disk partition
|
|
|
|
|
tables. It includes a library and command-line utility.")
|
2016-08-21 16:54:29 -04:00
|
|
|
|
(license license:gpl3+)))
|
2014-06-03 16:12:05 -04:00
|
|
|
|
|
2022-05-22 15:53:42 -04:00
|
|
|
|
(define-public parted-3.4
|
|
|
|
|
(package
|
|
|
|
|
(inherit parted)
|
|
|
|
|
(version "3.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/parted/parted-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0hjkv84x1bs2qqyx1fnzjqyyqrhv7kpdbq9bgydmi99d8wi80ag1"))))))
|
|
|
|
|
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(define-public fdisk
|
|
|
|
|
(package
|
|
|
|
|
(name "fdisk")
|
2017-07-23 12:12:52 -04:00
|
|
|
|
(version "2.0.0a1")
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/fdisk/gnufdisk-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-23 12:12:52 -04:00
|
|
|
|
"1d8za79kw8ihnp2br084rgyjv9whkwp7957rzw815i0izx6xhqy9"))))
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2016-09-25 03:33:02 -04:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2014-06-03 16:12:05 -04:00
|
|
|
|
("guile" ,guile-1.8)
|
gnu: util-linux: Move libraries to separate output.
Fixes <https://bugs.gnu.org/37732>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.
* gnu/packages/linux.scm (util-linux)[outputs]: Add "lib".
[arguments]: Update #:configure-flags and the "move-static-libraries" phase
accordingly. Add phases "patch-build-scripts" and "adjust-pkg-config-files".
(e2fsprogs, psm, mtd-utils, f2fs-tools, f2fs-tools-1.7, eudev,
xfsprogs)[inputs]: Change to the "lib" output of UTIL-LINUX.
(btrfs-progs)[inputs]: Remove duplicate UTIL-LINUX inputs and change to use
the "lib" output.
* gnu/packages/admin.scm (pam-mount)[inputs]: Add UTIL-LINUX:LIB.
(testdisk)[inputs]: Change to the "lib" output of UTIL-LINUX.
* gnu/packages/android.scm (abootimg)[inputs]: Likewise.
* gnu/packages/audio.scm (jack-1)[propagated-inputs]: Likewise.
* gnu/packages/bootloaders.scm (syslinux, vboot-utils)[inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Likewise.
* gnu/packages/cryptsetup.scm (cryptsetup, cryptsetup-static)[inputs]: Likewise.
* gnu/packages/databases.scm (postgresql, 4store)[inputs]: Likewise.
* gnu/packages/disk.scm (ndctl, gptfdisk, fdisk, gparted, rmlint,
volume-key)[inputs]: Likewise.
(parted)[inputs]: Likewise.
[native-inputs]: Add UTIL-LINUX.
* gnu/packages/efi.scm (sbsigntools)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/engineering.scm (lib3mf)[inputs]: Change to the "lib" output of
UTIL-LINUX.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/file-systems.scm (glusterfs, jfsutils, zfs)[inputs]: Likewise.
* gnu/packages/firmware.scm (ovmf)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Likewise.
* gnu/packages/freedesktop.scm (localed)[inputs]: Likewise.
* gnu/packages/glib.scm (glib, appstream-glib)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (tracker, gnome-terminal)[inputs]: Likewise.
* gnu/packages/jupyter.scm (xeus)[inputs]: Likewise.
* gnu/packages/kde.scm (kpmcore)[inputs]: Likewise.
* gnu/packages/kodi.scm (crossguid)[inputs]: Likewise.
* gnu/packages/lighting.scm (ola)[inputs]: Likewise.
* gnu/packages/music.scm (libgig)[inputs]: Likewise.
* gnu/packages/nfs.scm (nfs-utils)[inputs]: Likewise.
* gnu/packages/opencog.scm (opencog)[inputs]: Likewise.
* gnu/packages/package-management.scm (msitools)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/password-utils.scm (pwsafe)[inputs]: Likewise.
* gnu/packages/telephony.scm (pjproject)[propagated-inputs]: Likewise.
* gnu/packages/rdf.scm (rasqal)[inputs]: Likewise.
* gnu/packages/search.scm (xapian)[inputs]: Likewise.
* gnu/packages/sssd.scm (sssd)[native-inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/task-management.scm (taskwarrior)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/virtualization.scm (libvirt, xen)[inputs]: Likewise.
* gnu/packages/xorg.scm (libsm)[inputs]: Likewise.
2020-01-14 18:24:28 -05:00
|
|
|
|
("util-linux" ,util-linux "lib")
|
2014-06-03 16:12:05 -04:00
|
|
|
|
("parted" ,parted)))
|
2017-07-23 12:12:52 -04:00
|
|
|
|
;; The build neglects to look for its own headers in its own tree. A next
|
|
|
|
|
;; release should fix this, but may never come: GNU fdisk looks abandoned.
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'skip-broken-header-probes
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "backend/configure"
|
|
|
|
|
(("gnufdisk-common.h .*") "\n"))
|
|
|
|
|
#t)))
|
|
|
|
|
#:make-flags (list (string-append "CPPFLAGS="
|
|
|
|
|
" -I../common/include "
|
|
|
|
|
" -I../debug/include "
|
|
|
|
|
" -I../exception/include"))))
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/fdisk/")
|
|
|
|
|
(synopsis "Low-level disk partitioning and formatting")
|
|
|
|
|
(description
|
|
|
|
|
"GNU fdisk provides a GNU version of the common disk partitioning tool
|
|
|
|
|
fdisk. fdisk is used for the creation and manipulation of disk partition
|
|
|
|
|
tables, and it understands a variety of different formats.")
|
2023-10-20 13:55:53 -04:00
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-public findimagedupes
|
|
|
|
|
(package
|
|
|
|
|
(name "findimagedupes")
|
|
|
|
|
(version "2.20.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jhnc/findimagedupes")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1zfxmc6c1z4hzsq3k85xxida1v291frq4wbmxv9cg4jmw0ddk5ic"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
;; There's no ‘make install’ target.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(install-file "findimagedupes"
|
|
|
|
|
(string-append #$output "/bin"))))
|
|
|
|
|
(add-after 'unpack 'use-image-magick
|
|
|
|
|
;; TODO: package perl-graphics-magick and switch this out
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "findimagedupes"
|
|
|
|
|
(("Graphics::Magick")
|
|
|
|
|
"Image::Magick"))))
|
|
|
|
|
(add-after 'unpack 'set-inline-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "findimagedupes"
|
|
|
|
|
(("/usr/local")
|
|
|
|
|
#$output))))
|
|
|
|
|
(add-after 'install 'inline-generation
|
|
|
|
|
(lambda _
|
|
|
|
|
(mkdir-p (string-append #$output "/lib/findimagedupes"))
|
|
|
|
|
(invoke (string-append #$output "/bin/findimagedupes"))))
|
|
|
|
|
(add-after 'install 'wrap-findimagedupes
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(wrap-program (string-append #$output
|
|
|
|
|
"/bin/findimagedupes")
|
|
|
|
|
`("PERL5LIB" ":" prefix
|
|
|
|
|
(,(getenv "PERL5LIB") ,(string-append #$output
|
|
|
|
|
"/lib/perl5/site_perl")))))))))
|
|
|
|
|
(inputs (list bash-minimal perl-db-file perl-file-mimeinfo
|
|
|
|
|
perl-image-magick perl-inline-c))
|
|
|
|
|
(home-page "https://github.com/jhnc/findimagedupes")
|
|
|
|
|
(synopsis "Find visually similar or duplicate images")
|
|
|
|
|
(description "findimagedupes compares a list of files for visual
|
|
|
|
|
similarity.")
|
2016-08-21 16:54:29 -04:00
|
|
|
|
(license license:gpl3+)))
|
2014-06-03 16:12:05 -04:00
|
|
|
|
|
2021-03-27 17:05:26 -04:00
|
|
|
|
(define-public gpart
|
|
|
|
|
;; The latest (0.3) release is from 2015 and is missing a crash fix.
|
|
|
|
|
(let ((commit "ec03350a01ad69708b5a3e2d47b8e002b0eba6c9")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "gpart")
|
|
|
|
|
(version (git-version "0.3" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/baruch/gpart")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1dassswliaiwhhmx7yz540yyxgk53fvg672dbvgc5q0v6cqrh5jx"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--docdir=" (assoc-ref %outputs "out") "/share/doc/"
|
|
|
|
|
,name "-" ,version))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'skip-premature-configuration
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "autogen.sh"
|
|
|
|
|
(("\\./configure") "")))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake))
|
2021-03-27 17:05:26 -04:00
|
|
|
|
(home-page "https://github.com/baruch/gpart")
|
|
|
|
|
(synopsis "Guess and recover PC-style partition tables")
|
|
|
|
|
(description
|
|
|
|
|
"Gpart tries to guess the partitions on a PC-style, MBR-partitioned disk
|
|
|
|
|
after they have been inadvertently deleted or the primary partition table at
|
|
|
|
|
sector 0 damaged. In both cases, the contents of these partitions still exist
|
|
|
|
|
on the disk but the operating system cannot access them.
|
|
|
|
|
|
|
|
|
|
Gpart ignores the partition table and scans each sector of the device or image
|
|
|
|
|
file for several known file system and partition types. Only partitions which
|
|
|
|
|
have been formatted in some way can be recognized. Several file system guessing
|
|
|
|
|
modules are built in; more can be written and loaded at run time.
|
|
|
|
|
|
|
|
|
|
The guessed table can be restored manually, for example with @command{fdisk},
|
|
|
|
|
written to a file, or---if you firmly believe it's entirely correct---directly
|
|
|
|
|
to disk.
|
|
|
|
|
|
|
|
|
|
It should be stressed that gpart does a very heuristic job. It can easily be
|
|
|
|
|
right in its guesswork but it can also be terribly wrong. Never believe its
|
2021-04-09 13:56:43 -04:00
|
|
|
|
output without any plausibility checks.")
|
2021-03-27 17:05:26 -04:00
|
|
|
|
(license license:gpl2+))))
|
|
|
|
|
|
2016-06-16 17:58:45 -04:00
|
|
|
|
(define-public gptfdisk
|
|
|
|
|
(package
|
|
|
|
|
(name "gptfdisk")
|
2022-04-30 20:00:05 -04:00
|
|
|
|
(version "1.0.9")
|
2016-06-16 17:58:45 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/gptfdisk/gptfdisk/"
|
2020-03-02 22:03:47 -05:00
|
|
|
|
version "/gptfdisk-" version ".tar.gz"))
|
2016-06-16 17:58:45 -04:00
|
|
|
|
(sha256
|
2022-04-30 20:00:05 -04:00
|
|
|
|
(base32 "1hjh5m77fmfq5m44yy61kchv7mbfgx026aw3jy5qxszsjckavzns"))))
|
2016-06-16 17:58:45 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-03-02 22:03:47 -05:00
|
|
|
|
(add-after 'unpack 'fix-include-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "gptcurses.cc"
|
2022-04-30 20:00:05 -04:00
|
|
|
|
(("ncursesw/ncurses.h") "ncurses.h"))))
|
2020-03-02 22:03:47 -05:00
|
|
|
|
(delete 'configure) ; no configure script
|
2016-06-16 17:58:45 -04:00
|
|
|
|
(replace 'install
|
2020-03-02 22:03:47 -05:00
|
|
|
|
;; There's no ‘make install’ target.
|
2016-06-16 17:58:45 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2017-02-15 13:06:34 -05:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man8")))
|
2016-06-16 17:58:45 -04:00
|
|
|
|
(install-file "gdisk" bin)
|
|
|
|
|
(install-file "sgdisk" bin)
|
|
|
|
|
(install-file "cgdisk" bin)
|
2017-02-15 13:06:34 -05:00
|
|
|
|
(install-file "fixparts" bin)
|
|
|
|
|
(install-file "cgdisk.8" man)
|
|
|
|
|
(install-file "fixparts.8" man)
|
|
|
|
|
(install-file "gdisk.8" man)
|
|
|
|
|
(install-file "sgdisk.8" man)))))))
|
2022-04-30 20:00:09 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list gettext-minimal))
|
2022-04-30 20:00:07 -04:00
|
|
|
|
(inputs
|
2022-04-30 20:00:09 -04:00
|
|
|
|
(list ncurses
|
2022-04-30 20:00:07 -04:00
|
|
|
|
popt
|
|
|
|
|
`(,util-linux "lib"))) ;libuuid
|
2020-01-18 17:51:27 -05:00
|
|
|
|
(home-page "https://www.rodsbooks.com/gdisk/")
|
2016-06-16 17:58:45 -04:00
|
|
|
|
(synopsis "Low-level GPT disk partitioning and formatting")
|
|
|
|
|
(description "GPT fdisk (aka gdisk) is a text-mode partitioning tool that
|
2017-07-27 15:10:12 -04:00
|
|
|
|
works on Globally Unique Identifier (@dfn{GUID}) Partition Table (@dfn{GPT})
|
|
|
|
|
disks, rather than on the older Master Boot Record (@dfn{MBR}) partition
|
|
|
|
|
scheme.")
|
2016-08-21 16:54:29 -04:00
|
|
|
|
(license license:gpl2)))
|
2016-06-16 17:58:45 -04:00
|
|
|
|
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(define-public ddrescue
|
|
|
|
|
(package
|
|
|
|
|
(name "ddrescue")
|
2024-03-29 16:47:46 -04:00
|
|
|
|
(version "1.28")
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/ddrescue/ddrescue-"
|
|
|
|
|
version ".tar.lz"))
|
|
|
|
|
(sha256
|
2024-03-29 16:47:46 -04:00
|
|
|
|
(base32 "1h8hxgxgwz0ih4p38b6k49i1b6r7qli8b5fhr81ivk51gixc09k6"))))
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2021-03-24 15:06:44 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list (string-append "CXX=" ,(cxx-for-target)))))
|
2017-02-06 05:58:23 -05:00
|
|
|
|
(home-page "https://www.gnu.org/software/ddrescue/ddrescue.html")
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(synopsis "Data recovery utility")
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list lzip))
|
2014-06-03 16:12:05 -04:00
|
|
|
|
(description
|
|
|
|
|
"GNU ddrescue is a fully automated data recovery tool. It copies data
|
|
|
|
|
from one file to another, working to rescue data in case of read errors. The
|
|
|
|
|
program also includes a tool for manipulating its log files, which are used
|
|
|
|
|
to recover data more efficiently by only reading the necessary blocks.")
|
2016-08-21 16:54:29 -04:00
|
|
|
|
(license license:gpl3+)))
|
2015-05-07 00:53:48 -04:00
|
|
|
|
|
|
|
|
|
(define-public dosfstools
|
|
|
|
|
(package
|
|
|
|
|
(name "dosfstools")
|
2021-02-15 11:36:06 -05:00
|
|
|
|
(version "4.2")
|
2015-05-07 00:53:48 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2021-02-15 11:42:31 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dosfstools/dosfstools")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-05-07 00:53:48 -04:00
|
|
|
|
(sha256
|
2021-02-15 11:42:31 -05:00
|
|
|
|
(base32 "1xygsixmmc9l7drxylggnzkqqiks8zmlsbhg3z723ii2ak94236s"))))
|
2015-05-07 00:53:48 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-07-07 08:25:08 -04:00
|
|
|
|
`(#:configure-flags (list "--enable-compat-symlinks")
|
2021-12-10 03:58:56 -05:00
|
|
|
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "CC=" ,(cc-for-target)))))
|
2017-02-06 06:54:57 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake
|
|
|
|
|
;; For tests.
|
|
|
|
|
xxd))
|
2015-05-07 00:53:48 -04:00
|
|
|
|
(home-page "https://github.com/dosfstools/dosfstools")
|
2016-09-16 02:08:48 -04:00
|
|
|
|
(synopsis "Utilities for making and checking MS-DOS FAT file systems")
|
2015-05-07 00:53:48 -04:00
|
|
|
|
(description
|
|
|
|
|
"The dosfstools package includes the mkfs.fat and fsck.fat utilities,
|
2016-09-16 02:08:48 -04:00
|
|
|
|
which respectively make and check MS-DOS FAT file systems.")
|
2016-08-21 16:54:29 -04:00
|
|
|
|
(license license:gpl3+)))
|
2016-02-02 02:04:34 -05:00
|
|
|
|
|
2016-11-03 05:43:30 -04:00
|
|
|
|
(define dosfstools/static
|
|
|
|
|
(static-package
|
|
|
|
|
(package (inherit dosfstools))))
|
|
|
|
|
|
|
|
|
|
(define-public fatfsck/static
|
|
|
|
|
(package
|
|
|
|
|
(name "fatfsck-static")
|
|
|
|
|
(version (package-version dosfstools))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(source #f)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let ((src (string-append (assoc-ref %build-inputs "dosfstools")
|
|
|
|
|
"/sbin"))
|
|
|
|
|
(exe "fsck.fat")
|
|
|
|
|
(bin (string-append (assoc-ref %outputs "out") "/sbin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-directory-excursion bin
|
|
|
|
|
(copy-file (string-append src "/" exe) exe)
|
|
|
|
|
(remove-store-references exe)
|
|
|
|
|
(chmod exe #o555)
|
|
|
|
|
;; Add fsck.vfat symlink to match the Linux driver name.
|
|
|
|
|
(symlink exe "fsck.vfat")
|
|
|
|
|
#t)))))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list dosfstools/static))
|
2016-11-03 05:43:30 -04:00
|
|
|
|
(home-page (package-home-page dosfstools))
|
|
|
|
|
(synopsis "Statically linked fsck.fat from dosfstools")
|
|
|
|
|
(description "This package provides a statically-linked @command{fsck.fat}
|
|
|
|
|
and a @command{fsck.vfat} compatibility symlink for use in an initrd.")
|
|
|
|
|
(license (package-license dosfstools))))
|
|
|
|
|
|
2023-05-15 14:19:05 -04:00
|
|
|
|
(define-public hdparm
|
|
|
|
|
(package
|
|
|
|
|
(name "hdparm")
|
|
|
|
|
(version "9.65")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/hdparm/hdparm/"
|
|
|
|
|
"hdparm-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0jssagggg52ssl9kg99m88afghj7bm1854vyf4p96q6h23wjjjfi"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:make-flags
|
|
|
|
|
#~(list (string-append "binprefix=" #$output)
|
|
|
|
|
(string-append "manprefix=" #$output)
|
|
|
|
|
(string-append "CC=" #$(cc-for-target))
|
|
|
|
|
;; Let Guix strip binaries and not break cross-compilation.
|
|
|
|
|
"STRIP=true")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:tests? #f)) ; no test suite
|
|
|
|
|
(home-page "https://sourceforge.net/projects/hdparm/")
|
|
|
|
|
(synopsis "View and tune ATA disk drive parameters")
|
|
|
|
|
(description
|
|
|
|
|
"@command{hdparm} is a command-line utility to control ATA controllers and
|
|
|
|
|
disk drives. It can increase performance and/or reliability by careful tuning
|
|
|
|
|
of hardware settings like power and acoustic management, DMA modes, and caching.
|
|
|
|
|
It can also display detailed device information, or be used as a simple
|
|
|
|
|
performance benchmarking tool.
|
|
|
|
|
|
|
|
|
|
@command{hdparm} provides a command line interface to various Linux kernel
|
|
|
|
|
interfaces provided by the SATA/ATA/SAS @code{libata} subsystem, and the older
|
|
|
|
|
IDE driver subsystem. Many external USB drive enclosures with SCSI-ATA Command
|
|
|
|
|
Translation (@dfn{SAT}) are also supported.")
|
|
|
|
|
(license (license:non-copyleft "file://LICENSE.TXT"))))
|
|
|
|
|
|
2016-02-02 02:04:34 -05:00
|
|
|
|
(define-public sdparm
|
|
|
|
|
(package
|
|
|
|
|
(name "sdparm")
|
2021-04-23 12:18:45 -04:00
|
|
|
|
(version "1.12")
|
2016-02-02 02:04:34 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://sg.danny.cz/sg/p/"
|
2020-03-13 00:28:39 -04:00
|
|
|
|
"sdparm-" version ".tar.xz"))
|
2016-02-02 02:04:34 -05:00
|
|
|
|
(sha256
|
2021-04-23 12:18:45 -04:00
|
|
|
|
(base32 "1gmdxr36allrgap2j4dv238d8awkj327ww0jjwpjwrpbvfpyzjf4"))))
|
2016-02-02 02:04:34 -05:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://sg.danny.cz/sg/sdparm.html")
|
2016-02-02 02:04:34 -05:00
|
|
|
|
(synopsis "Provide access to SCSI device parameters")
|
|
|
|
|
(description
|
|
|
|
|
"Sdparm reads and modifies SCSI device parameters. These devices can be
|
|
|
|
|
SCSI disks, in which case the role of @command{sdparm} is similar to its
|
|
|
|
|
namesake: the @command{hdparm} utility originally designed for ATA disks.
|
|
|
|
|
However, @command{sdparm} can be used to access parameters on any device that
|
|
|
|
|
uses a SCSI command set. Such devices include CD/DVD drives (irrespective of
|
|
|
|
|
transport), SCSI and ATAPI tape drives, and SCSI enclosures. This utility can
|
|
|
|
|
also send commands associated with starting and stopping the media, loading
|
|
|
|
|
and unloading removable media and some other housekeeping functions.")
|
2016-08-21 16:54:29 -04:00
|
|
|
|
(license license:bsd-3)))
|
2016-03-07 19:47:58 -05:00
|
|
|
|
|
|
|
|
|
(define-public idle3-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "idle3-tools")
|
|
|
|
|
(version "0.9.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/idle3-tools/idle3-tools-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00ia7xq9yldxyl9gz0mr4xa568nav14p0fnv82f2rbbkg060cy4p"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))
|
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "manprefix=")
|
|
|
|
|
(string-append "DESTDIR="
|
|
|
|
|
(assoc-ref %outputs "out")))))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://idle3-tools.sourceforge.net")
|
2016-03-07 19:47:58 -05:00
|
|
|
|
(synopsis "Change or disable Western Digital hard drives' Idle3 timer")
|
|
|
|
|
(description
|
|
|
|
|
"Idle3-tools provides a utility to get, set, or disable the Idle3 timer
|
|
|
|
|
present in many Western Digital hard drives. This timer is part of the
|
|
|
|
|
\"IntelliPark\" feature that stops the disk when not in use. Unfortunately,
|
|
|
|
|
the default timer setting is not well suited to Linux or other *nix systems,
|
|
|
|
|
and can dramatically shorten the lifespan of the drive if left unchecked.")
|
2016-08-21 16:54:29 -04:00
|
|
|
|
(license license:gpl3+)))
|
2016-08-21 17:39:19 -04:00
|
|
|
|
|
2023-05-25 15:17:05 -04:00
|
|
|
|
(define-public greaseweazle-host-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "greaseweazle-host-tools")
|
|
|
|
|
(version "1.12")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/keirf/greaseweazle")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1lpvjlf2xg4ccwik8npiihi0lgw9dx5h12pp4ry343gkz4pwgk9x"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'setuptools-version
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "1.8")))
|
|
|
|
|
(add-after 'install 'install-udev-rules
|
|
|
|
|
(lambda _
|
|
|
|
|
(install-file "scripts/49-greaseweazle.rules"
|
|
|
|
|
(string-append #$output "/lib/udev/rules.d/")))))))
|
|
|
|
|
(native-inputs (list python-setuptools-scm))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-bitarray python-crcmod python-pyserial python-requests))
|
|
|
|
|
(synopsis "Tools for accessing a floppy drive at the raw flux level")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides the host tools for controlling a Greaseweazle: an
|
|
|
|
|
Open Source USB device capable of reading and writing raw data on nearly any
|
|
|
|
|
type of floppy disk")
|
|
|
|
|
(home-page "https://github.com/keirf/greaseweazle")
|
|
|
|
|
(license license:public-domain)))
|
|
|
|
|
|
2016-08-21 17:39:19 -04:00
|
|
|
|
(define-public gparted
|
|
|
|
|
(package
|
|
|
|
|
(name "gparted")
|
2023-02-24 21:45:11 -05:00
|
|
|
|
(version "1.5.0")
|
2016-08-21 17:39:19 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/gparted/gparted/gparted-"
|
|
|
|
|
version "/gparted-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2023-02-24 21:45:11 -05:00
|
|
|
|
(base32 "1pm8jah6lakv83zm3isx4bgmi5xdwaqkjxmiv7qky224m4kfm59w"))))
|
2020-07-14 09:43:31 -04:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
2016-08-21 17:39:19 -04:00
|
|
|
|
(arguments
|
2022-08-13 20:00:01 -04:00
|
|
|
|
;; Tests require access to files outside the build container, such
|
|
|
|
|
;; as ‘/dev/disk/by-id/’.
|
2019-06-02 15:50:17 -04:00
|
|
|
|
`(#:tests? #f))
|
2016-08-21 17:39:19 -04:00
|
|
|
|
(inputs
|
2022-12-05 12:35:07 -05:00
|
|
|
|
(list `(,util-linux "lib") parted glib gtkmm-3 lvm2 libxml2))
|
2016-08-21 17:39:19 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list intltool
|
|
|
|
|
itstool
|
|
|
|
|
yelp-tools
|
|
|
|
|
pkg-config))
|
2017-08-31 09:05:53 -04:00
|
|
|
|
(home-page "https://gparted.org/")
|
2016-08-21 17:39:19 -04:00
|
|
|
|
(synopsis "Partition editor to graphically manage disk partitions")
|
|
|
|
|
(description "GParted is a GNOME partition editor for creating,
|
|
|
|
|
reorganizing, and deleting disk partitions. It uses libparted from the parted
|
|
|
|
|
project to detect and manipulate partition tables. Optional file system tools
|
|
|
|
|
permit managing file systems not included in libparted.")
|
|
|
|
|
;; The home page says GPLv2, but the source code says GPLv2+.
|
|
|
|
|
(license license:gpl2+)))
|
2017-05-07 14:45:39 -04:00
|
|
|
|
|
2022-02-22 23:19:28 -05:00
|
|
|
|
(define-public testdisk
|
|
|
|
|
(package
|
|
|
|
|
(name "testdisk")
|
|
|
|
|
(version "7.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.cgsecurity.org/testdisk-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1zlh44w67py416hkvw6nrfmjickc2d43v51vcli5p374d5sw84ql"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list ntfs-3g
|
|
|
|
|
`(,util-linux "lib")
|
|
|
|
|
openssl
|
|
|
|
|
;; FIXME: add reiserfs.
|
|
|
|
|
zlib
|
|
|
|
|
e2fsprogs
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
ncurses))
|
|
|
|
|
(home-page "https://www.cgsecurity.org/wiki/TestDisk")
|
|
|
|
|
(synopsis "Data recovery tool")
|
|
|
|
|
(description "TestDisk is primarily designed to help recover lost
|
|
|
|
|
partitions and/or make non-booting disks bootable again when these symptoms
|
|
|
|
|
were caused by faulty software or human error (such as accidentally deleting a
|
|
|
|
|
partition table). TestDisk can:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item Fix partition table, recover deleted partition
|
|
|
|
|
@item Recover FAT32 boot sector from its backup
|
|
|
|
|
@item Rebuild FAT12/FAT16/FAT32 boot sector
|
|
|
|
|
@item Fix FAT tables
|
|
|
|
|
@item Rebuild NTFS boot sector
|
|
|
|
|
@item Recover NTFS boot sector from its backup
|
|
|
|
|
@item Fix MFT using MFT mirror
|
|
|
|
|
@item Locate ext2/ext3/ext4 Backup SuperBlock
|
|
|
|
|
@item Un-delete files from FAT, exFAT, NTFS and ext2 file systems
|
|
|
|
|
@item Copy files from deleted FAT, exFAT, NTFS and ext2/ext3/ext4 partitions.
|
|
|
|
|
@end enumerate
|
|
|
|
|
This package also includes the @command{photorec} command, described below.
|
|
|
|
|
|
|
|
|
|
PhotoRec is file data recovery software designed to recover lost files
|
|
|
|
|
including video, documents and archives from hard disks, CD-ROMs, and lost
|
|
|
|
|
pictures (thus the Photo Recovery name) from digital camera memory. PhotoRec
|
|
|
|
|
ignores the file system and goes after the underlying data, so it will still
|
|
|
|
|
work even if your media's file system has been severely damaged or
|
|
|
|
|
reformatted. It can recover lost files from at least:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item FAT
|
|
|
|
|
@item NTFS
|
|
|
|
|
@item exFAT
|
|
|
|
|
@item ext2/ext3/ext4 file system
|
|
|
|
|
@item HFS+
|
|
|
|
|
@end enumerate")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2017-09-14 14:55:01 -04:00
|
|
|
|
(define-public pydf
|
|
|
|
|
(package
|
|
|
|
|
(name "pydf")
|
|
|
|
|
(version "12")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pydf" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0f8ly8xyp93i2hm9c0qjqd4y86nz73axw2f09z01mszwmg1sfivz"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "http://kassiopeia.juls.savba.sk/~garabik/software/pydf/")
|
|
|
|
|
(synopsis "Colourised @command{df} clone")
|
|
|
|
|
(description "All-singing, all-dancing, fully colourised @command{df} clone
|
|
|
|
|
written in Python. It displays the amount of disk space available on the
|
2018-01-19 10:25:13 -05:00
|
|
|
|
mounted file systems, using different colours for different types of file
|
2017-09-14 14:55:01 -04:00
|
|
|
|
systems. Output format is completely customizable.")
|
|
|
|
|
(license license:public-domain)))
|
2017-05-07 14:45:39 -04:00
|
|
|
|
|
|
|
|
|
(define-public f3
|
|
|
|
|
(package
|
|
|
|
|
(name "f3")
|
2020-11-07 09:09:59 -05:00
|
|
|
|
(version "8.0")
|
2017-05-07 14:45:39 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-08-14 15:26:46 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/AltraMayor/f3")
|
2018-08-14 15:26:46 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-05-07 14:45:39 -04:00
|
|
|
|
(sha256
|
2020-11-07 09:09:59 -05:00
|
|
|
|
(base32 "17l5vspfcgfbkqg7bakp3gql29yb05gzawm8n3im30ilzdr53678"))))
|
2017-05-07 14:45:39 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2023-12-28 10:58:59 -05:00
|
|
|
|
(list #:tests? #f ; no check target
|
|
|
|
|
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
|
|
|
|
(string-append "PREFIX=" #$output))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-after 'build 'build-extra
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" "extra" make-flags)))
|
|
|
|
|
(add-after 'build 'install-extra
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" "install-extra" make-flags))))))
|
2017-05-07 14:45:39 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list eudev parted))
|
2017-05-07 14:45:39 -04:00
|
|
|
|
(home-page "http://oss.digirati.com.br/f3/")
|
gnu: Remove trailing period from synopsis.
* gnu/packages/anddroid.scm (android-liblog, git-repo)[synopsis]: Remove
trailing period.
* gnu/packages/audio.scm (audio-to-midi)[synopsis]: Likewise.
* gnu/packages/bioinformatics.scm (python-mygene, python-scanpy,
nanosv)[synopsis]: Likewise.
* gnu/packages/cran.scm (r-gsubfn)[synopsis]: Likewise.
* gnu/packages/crates-io.scm (rust-ascii-1, rust-bindgen-0.59,
rust-byte-unit-4, rust-clircle-0.3, rust-dashmap-4, rust-dhcp4r-0.2,
rust-fast-float-0.2, rust-fst-0.4, rust-futures-core-preview-0.3,
rust-http-types-2, rust-hyper-0.14, rust-indexmap-1,
rust-minimal-lexical-0.1, rust-oorandom-11.1, rust-runtime-raw-0.3,
rust-sharded-slab-0.1, rust-takeable-option-0.4, rust-tower-service-0.3,
rust-ttf-parser-0.12)[synopsis]: Likewise.
* gnu/packages/disk.scm (f3)[synopsis]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-scribble-mode, emacs-psession)[synopsis]:
Likewise.
* gnu/packages/golang.scm (go-github-com-kylelemons-godebug)[synopsis]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-fsnotify, ghc-libyaml, ghc-emojis,
ghc-regex-tdfa, ghc-th-lift-instances, ghc-commonmark-pandoc)[synopsis]:
Likewise.
* gnu/packages/java.scm (java-commons-jxpath, java-jakarta-regexp)[synopsis]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-annot, sbcl-envy)[synopsis]: Likewise.
* gnu/packages/mail.scm (go-gitlab.com-shackra-goimapnotify)[synopsis]:
Likewise.
* gnu/packages/maven.scm (maven-wagon-http-shared,
maven-surefire-plugin)[synopsis]: Likewise.
* gnu/packages/perl.scm (perl-text-soundex)[synopsis]: Likewise.
* gnu/packages/python-check.scm (python-httmock)[synopsis]: Likewise.
* gnu/packages/python-web.scm (python-bottle)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-olefile, python-tokenize-rt,
python-pylzma)[synopsis]: Likewise.
* gnu/packages/tex.scm (texlive-docstrip)[synopsis]: Likewise.
2021-12-30 21:39:42 -05:00
|
|
|
|
(synopsis "Test real capacity of flash memory cards and such")
|
2017-05-07 14:45:39 -04:00
|
|
|
|
(description "F3 (Fight Flash Fraud or Fight Fake Flash) tests the full
|
|
|
|
|
capacity of a flash card (flash drive, flash disk, pendrive). F3 writes to
|
|
|
|
|
the card and then checks if can read it. It will assure you haven't been sold
|
|
|
|
|
a card with a smaller capacity than stated.")
|
|
|
|
|
(license license:gpl3+)))
|
2018-03-25 13:25:31 -04:00
|
|
|
|
|
2022-06-11 20:00:00 -04:00
|
|
|
|
(define-public python-pyparted
|
2018-03-25 13:25:31 -04:00
|
|
|
|
(package
|
2022-06-11 20:00:00 -04:00
|
|
|
|
(name "python-pyparted")
|
2022-06-11 20:00:05 -04:00
|
|
|
|
(version "3.12.0")
|
2018-03-25 13:25:31 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-06-23 14:07:34 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/dcantrell/pyparted")
|
2019-06-23 14:07:34 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-03-25 13:25:31 -04:00
|
|
|
|
(sha256
|
2022-06-11 20:00:05 -04:00
|
|
|
|
(base32 "0jxc1i1g3lz32wvqvdbb9ng2ypin783004kjnp0pghiz813lpw1d"))))
|
2018-03-25 13:25:31 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list e2fsprogs pkg-config))
|
2018-03-25 13:25:31 -04:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-six))
|
2018-03-25 13:25:31 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list parted))
|
2018-03-25 13:25:31 -04:00
|
|
|
|
(home-page "https://github.com/dcantrell/pyparted")
|
|
|
|
|
(synopsis "Parted bindings for Python")
|
|
|
|
|
(description "This package provides @code{parted} bindings for Python.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2022-06-11 20:00:00 -04:00
|
|
|
|
(define-public python-parted
|
|
|
|
|
(deprecated-package "python-parted" python-pyparted))
|
|
|
|
|
|
2018-03-28 15:25:05 -04:00
|
|
|
|
(define-public duperemove
|
|
|
|
|
(package
|
|
|
|
|
(name "duperemove")
|
2021-08-19 22:13:05 -04:00
|
|
|
|
(version "0.11.3")
|
2019-02-12 09:15:45 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/markfasheh/duperemove")
|
2019-02-12 09:15:45 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
2021-08-19 22:13:05 -04:00
|
|
|
|
(base32 "0jwxmhadv2f1mx7gan4gk0xwrjr5g2xa71z1rp0knc1acbkhqdas"))
|
2019-02-12 09:15:45 -05:00
|
|
|
|
(file-name (git-file-name name version))))
|
2018-03-28 15:25:05 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2018-03-28 15:25:05 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list glib sqlite))
|
2018-03-28 15:25:05 -04:00
|
|
|
|
(arguments
|
2018-05-30 22:18:01 -04:00
|
|
|
|
`(#:tests? #f ; no test suite
|
2018-03-28 15:25:05 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-05-30 22:18:01 -04:00
|
|
|
|
(delete 'configure)) ; no configure script
|
2018-03-28 15:25:05 -04:00
|
|
|
|
#:make-flags (list (string-append "PREFIX=" %output)
|
2020-11-07 08:48:18 -05:00
|
|
|
|
(string-append "CC=" ,(cc-for-target))
|
|
|
|
|
;; Set to <next release>dev by default.
|
|
|
|
|
(string-append "VER=" ,version))))
|
2018-03-28 15:25:05 -04:00
|
|
|
|
(home-page "https://github.com/markfasheh/duperemove")
|
|
|
|
|
(synopsis "Tools for de-duplicating file system data")
|
|
|
|
|
(description "Duperemove is a simple tool for finding duplicated extents
|
|
|
|
|
and submitting them for deduplication. When given a list of files it will
|
|
|
|
|
hash their contents on a block by block basis and compare those hashes to each
|
|
|
|
|
other, finding and categorizing blocks that match each other. When given the
|
|
|
|
|
@option{-d} option, duperemove will submit those extents for deduplication
|
|
|
|
|
using the Linux kernel extent-same @code{ioctl}.
|
|
|
|
|
|
|
|
|
|
Duperemove can store the hashes it computes in a @dfn{hash file}. If given an
|
|
|
|
|
existing hash file, duperemove will only compute hashes for those files which
|
|
|
|
|
have changed since the last run. Thus you can run duperemove repeatedly on
|
|
|
|
|
your data as it changes, without having to re-checksum unchanged data.
|
|
|
|
|
|
|
|
|
|
Duperemove can also take input from the @command{fdupes} program.")
|
|
|
|
|
(license license:gpl2)))
|
2018-04-24 19:44:38 -04:00
|
|
|
|
|
|
|
|
|
(define-public ranger
|
|
|
|
|
(package
|
|
|
|
|
(name "ranger")
|
2020-01-01 15:08:40 -05:00
|
|
|
|
(version "1.9.3")
|
2018-04-24 19:44:38 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://ranger.github.io/"
|
|
|
|
|
"ranger-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-01 15:08:40 -05:00
|
|
|
|
"0lfjrpv3z4h0knd3v94fijrw2zjba51mrp3mjqx2c98wr428l26f"))))
|
2018-04-24 19:44:38 -04:00
|
|
|
|
(build-system python-build-system)
|
2018-06-04 10:31:58 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list w3m))
|
2018-10-10 16:28:40 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list which
|
|
|
|
|
;; For tests.
|
|
|
|
|
python-pytest))
|
2018-06-04 10:31:58 -04:00
|
|
|
|
(arguments
|
2018-10-10 16:28:40 -04:00
|
|
|
|
'( ;; The 'test' target runs developer tools like pylint, which fail.
|
|
|
|
|
#:test-target "test_pytest"
|
2018-06-04 10:31:58 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'configure 'wrap-program
|
|
|
|
|
;; Tell 'ranger' where 'w3mimgdisplay' is.
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(ranger (string-append out "/bin/ranger"))
|
|
|
|
|
(w3m (assoc-ref inputs "w3m"))
|
|
|
|
|
(w3mimgdisplay (string-append w3m
|
|
|
|
|
"/libexec/w3m/w3mimgdisplay")))
|
|
|
|
|
(wrap-program ranger
|
|
|
|
|
`("W3MIMGDISPLAY_PATH" ":" prefix (,w3mimgdisplay)))
|
2018-10-10 16:05:37 -04:00
|
|
|
|
#t)))
|
|
|
|
|
(replace 'check
|
2018-10-10 16:28:40 -04:00
|
|
|
|
;; The default check phase simply prints 'Ran 0 tests in 0.000s'.
|
|
|
|
|
(lambda* (#:key test-target #:allow-other-keys)
|
|
|
|
|
(invoke "make" test-target))))))
|
2018-04-24 19:44:38 -04:00
|
|
|
|
(home-page "https://ranger.github.io/")
|
|
|
|
|
(synopsis "Console file manager")
|
2018-04-26 22:08:23 -04:00
|
|
|
|
(description "ranger is a console file manager with Vi key bindings. It
|
|
|
|
|
provides a minimalistic and nice curses interface with a view on the directory
|
|
|
|
|
hierarchy. It ships with @code{rifle}, a file launcher that is good at
|
|
|
|
|
automatically finding out which program to use for what file type.")
|
2018-04-24 19:44:38 -04:00
|
|
|
|
(license license:gpl3)))
|
2018-05-29 06:22:02 -04:00
|
|
|
|
|
2022-01-03 18:37:55 -05:00
|
|
|
|
(define-public fff
|
|
|
|
|
(package
|
|
|
|
|
(name "fff")
|
|
|
|
|
(version "2.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dylanaraps/fff")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"14ymdw6l6phnil0xf1frd5kgznaiwppcic0v4hb61s1zpf4wrshg"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list bash
|
|
|
|
|
file))
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ; no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
#~(list
|
|
|
|
|
(string-append "PREFIX=" #$output))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'refer-to-inputs
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((file (assoc-ref inputs "file")))
|
|
|
|
|
(substitute* "fff"
|
|
|
|
|
(("\\bfile [-\"]" match)
|
|
|
|
|
(string-append file "/bin/" match))))))
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
|
|
|
|
(home-page "https://github.com/dylanaraps/fff")
|
|
|
|
|
(synopsis "Simple file manager written in bash")
|
|
|
|
|
(description
|
|
|
|
|
"@command{fff} (fast file-manager) is a simple, blazing fast and minimal
|
|
|
|
|
file manager for Linux, written in bash. It only requires bash and coreutils,
|
|
|
|
|
and its highly optimized now for efficient performance.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-05-29 06:22:02 -04:00
|
|
|
|
(define-public volume-key
|
|
|
|
|
(package
|
|
|
|
|
(name "volume-key")
|
2018-10-10 13:45:27 -04:00
|
|
|
|
(version "0.3.12")
|
2018-05-29 06:22:02 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://releases.pagure.org/volume_key/volume_key-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-10 13:45:27 -04:00
|
|
|
|
"16rhfz6sjwxlmss1plb2wv2i3jq6wza02rmz1d2jrlnsq67p98vc"))))
|
2018-05-29 06:22:02 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config swig python-3)) ; used to generate the Python bindings
|
2018-05-29 06:22:02 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("cryptsetup" ,cryptsetup)
|
|
|
|
|
("nss" ,nss)
|
gnu: util-linux: Move libraries to separate output.
Fixes <https://bugs.gnu.org/37732>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.
* gnu/packages/linux.scm (util-linux)[outputs]: Add "lib".
[arguments]: Update #:configure-flags and the "move-static-libraries" phase
accordingly. Add phases "patch-build-scripts" and "adjust-pkg-config-files".
(e2fsprogs, psm, mtd-utils, f2fs-tools, f2fs-tools-1.7, eudev,
xfsprogs)[inputs]: Change to the "lib" output of UTIL-LINUX.
(btrfs-progs)[inputs]: Remove duplicate UTIL-LINUX inputs and change to use
the "lib" output.
* gnu/packages/admin.scm (pam-mount)[inputs]: Add UTIL-LINUX:LIB.
(testdisk)[inputs]: Change to the "lib" output of UTIL-LINUX.
* gnu/packages/android.scm (abootimg)[inputs]: Likewise.
* gnu/packages/audio.scm (jack-1)[propagated-inputs]: Likewise.
* gnu/packages/bootloaders.scm (syslinux, vboot-utils)[inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Likewise.
* gnu/packages/cryptsetup.scm (cryptsetup, cryptsetup-static)[inputs]: Likewise.
* gnu/packages/databases.scm (postgresql, 4store)[inputs]: Likewise.
* gnu/packages/disk.scm (ndctl, gptfdisk, fdisk, gparted, rmlint,
volume-key)[inputs]: Likewise.
(parted)[inputs]: Likewise.
[native-inputs]: Add UTIL-LINUX.
* gnu/packages/efi.scm (sbsigntools)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/engineering.scm (lib3mf)[inputs]: Change to the "lib" output of
UTIL-LINUX.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/file-systems.scm (glusterfs, jfsutils, zfs)[inputs]: Likewise.
* gnu/packages/firmware.scm (ovmf)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Likewise.
* gnu/packages/freedesktop.scm (localed)[inputs]: Likewise.
* gnu/packages/glib.scm (glib, appstream-glib)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (tracker, gnome-terminal)[inputs]: Likewise.
* gnu/packages/jupyter.scm (xeus)[inputs]: Likewise.
* gnu/packages/kde.scm (kpmcore)[inputs]: Likewise.
* gnu/packages/kodi.scm (crossguid)[inputs]: Likewise.
* gnu/packages/lighting.scm (ola)[inputs]: Likewise.
* gnu/packages/music.scm (libgig)[inputs]: Likewise.
* gnu/packages/nfs.scm (nfs-utils)[inputs]: Likewise.
* gnu/packages/opencog.scm (opencog)[inputs]: Likewise.
* gnu/packages/package-management.scm (msitools)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/password-utils.scm (pwsafe)[inputs]: Likewise.
* gnu/packages/telephony.scm (pjproject)[propagated-inputs]: Likewise.
* gnu/packages/rdf.scm (rasqal)[inputs]: Likewise.
* gnu/packages/search.scm (xapian)[inputs]: Likewise.
* gnu/packages/sssd.scm (sssd)[native-inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/task-management.scm (taskwarrior)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/virtualization.scm (libvirt, xen)[inputs]: Likewise.
* gnu/packages/xorg.scm (libsm)[inputs]: Likewise.
2020-01-14 18:24:28 -05:00
|
|
|
|
("libblkid" ,util-linux "lib")
|
2018-10-10 13:45:27 -04:00
|
|
|
|
("lvm2" ,lvm2) ; for "-ldevmapper"
|
2018-05-29 06:22:02 -04:00
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gpgme" ,gpgme)))
|
|
|
|
|
(arguments
|
2018-10-10 13:45:27 -04:00
|
|
|
|
`(#:tests? #f ; not sure how tests are supposed to pass, even when run manually
|
2018-05-29 06:22:02 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-python.h-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((python (assoc-ref inputs "python")))
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("/usr/include/python") (string-append python "/include/python")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://pagure.io/volume_key")
|
|
|
|
|
(synopsis "Manipulate storage volume encryption keys")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a library for manipulating storage volume
|
|
|
|
|
encryption keys and storing them separately from volumes to handle forgotten
|
|
|
|
|
passphrases.")
|
|
|
|
|
(license license:gpl2)))
|
2018-06-28 16:45:08 -04:00
|
|
|
|
|
|
|
|
|
(define-public ndctl
|
|
|
|
|
(package
|
|
|
|
|
(name "ndctl")
|
2023-07-22 20:00:00 -04:00
|
|
|
|
(version "78")
|
2018-06-28 16:45:08 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/pmem/ndctl")
|
2018-06-28 16:45:08 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
2018-10-10 15:10:23 -04:00
|
|
|
|
(file-name (git-file-name name version))
|
2018-06-28 16:45:08 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-07-22 20:00:00 -04:00
|
|
|
|
"0rhmxjajxxslsikixlf9cdg5vcn42h7zzqkqj5p5pshxch368kn0"))))
|
2022-06-04 20:00:06 -04:00
|
|
|
|
(build-system meson-build-system)
|
2021-12-21 21:52:16 -05:00
|
|
|
|
(arguments
|
2023-01-21 19:00:01 -05:00
|
|
|
|
;; The test suite runs but SKIPs all tests: do not consider this tested!
|
2021-12-21 21:52:16 -05:00
|
|
|
|
(list #:configure-flags
|
2022-06-04 20:00:06 -04:00
|
|
|
|
#~(list (string-append "-Drootprefix=" #$output)
|
2023-01-21 19:00:01 -05:00
|
|
|
|
(string-append "-Dlibdir=" #$output "/lib")
|
2022-06-04 20:00:06 -04:00
|
|
|
|
(string-append "-Dbashcompletiondir=" #$output
|
|
|
|
|
"/share/bash-completion/completions")
|
|
|
|
|
(string-append "-Dsysconfdir=" #$output "/etc")
|
2023-01-21 19:00:01 -05:00
|
|
|
|
(string-append "-Diniparserdir="
|
|
|
|
|
#$(this-package-input "iniparser")
|
|
|
|
|
"/include")
|
2022-06-04 20:00:06 -04:00
|
|
|
|
"-Dasciidoctor=disabled" ; use docbook-xsl instead
|
|
|
|
|
"-Dsystemd=disabled")
|
2021-12-21 21:52:16 -05:00
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
2022-01-07 17:51:59 -05:00
|
|
|
|
(add-after 'unpack 'fix-version
|
|
|
|
|
;; Our VERSION's always better than the build's poor guess.
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-output-to-file "version"
|
|
|
|
|
(lambda _ (display #$version)))))
|
2021-12-21 21:52:16 -05:00
|
|
|
|
(add-after 'unpack 'patch-FHS-file-names
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "git-version-gen"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
(substitute* "git-version"
|
2022-06-04 20:00:06 -04:00
|
|
|
|
(("/bin/bash") (which "bash"))))))))
|
2018-06-28 16:45:08 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list asciidoc
|
|
|
|
|
bash-completion
|
|
|
|
|
docbook-xsl
|
|
|
|
|
libxml2
|
|
|
|
|
pkg-config
|
|
|
|
|
xmlto
|
|
|
|
|
;; Required for offline docbook generation.
|
|
|
|
|
which))
|
2018-06-28 16:45:08 -04:00
|
|
|
|
(inputs
|
2021-12-21 21:46:50 -05:00
|
|
|
|
(list eudev
|
|
|
|
|
iniparser
|
|
|
|
|
json-c
|
|
|
|
|
keyutils
|
|
|
|
|
kmod
|
2023-07-22 20:00:00 -04:00
|
|
|
|
libtraceevent
|
|
|
|
|
libtracefs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
`(,util-linux "lib")))
|
2018-06-28 16:45:08 -04:00
|
|
|
|
(home-page "https://github.com/pmem/ndctl")
|
|
|
|
|
(synopsis "Manage the non-volatile memory device sub-system in the Linux kernel")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a utility library for managing the
|
|
|
|
|
libnvdimm (non-volatile memory device) sub-system in the Linux kernel.")
|
|
|
|
|
;; COPYING says LGPL2.1, but many source files are GPL2 so that's
|
|
|
|
|
;; the effective license. Note that some files under ccan/ are
|
2022-06-04 20:00:06 -04:00
|
|
|
|
;; covered by BSD-3 or public domain, see the individual directories.
|
2018-06-28 16:45:08 -04:00
|
|
|
|
(license license:gpl2)))
|
2018-05-30 06:33:08 -04:00
|
|
|
|
|
|
|
|
|
(define-public dmraid
|
|
|
|
|
(package
|
|
|
|
|
(name "dmraid")
|
|
|
|
|
(version "1.0.0.rc16-3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1n7vsqvh7y6yvil682q129d21yhb0cmvd5fvsbkza7ypd78inhlk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list lvm2))
|
|
|
|
|
(native-inputs (list which))
|
2018-05-30 06:33:08 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests.
|
2018-08-01 07:15:56 -04:00
|
|
|
|
;; Prevent a race condition where some target would attempt to link
|
|
|
|
|
;; libdmraid.so before it had been built as reported in
|
|
|
|
|
;; <https://bugs.gnu.org/31999#187>.
|
|
|
|
|
#:parallel-build? #f
|
2018-05-30 06:33:08 -04:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'change-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir (string-append ,version "/dmraid"))
|
|
|
|
|
(substitute* "make.tmpl.in"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t)))
|
|
|
|
|
#:configure-flags (list ;; Make sure programs such as 'dmevent_tool' can
|
|
|
|
|
;; find libdmraid.so.
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib"))))
|
|
|
|
|
(home-page "https://people.redhat.com/~heinzm/sw/dmraid/")
|
|
|
|
|
(synopsis "Device mapper RAID interface")
|
|
|
|
|
(description
|
|
|
|
|
"This software supports RAID device discovery, RAID set activation, creation,
|
|
|
|
|
removal, rebuild and display of properties for ATARAID/DDF1 metadata.
|
|
|
|
|
|
|
|
|
|
@command{dmraid} uses @file{libdevmapper} and the device-mapper kernel runtime
|
|
|
|
|
to create devices with respective mappings for the ATARAID sets discovered.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-05-29 06:32:52 -04:00
|
|
|
|
|
|
|
|
|
(define-public libblockdev
|
|
|
|
|
(package
|
|
|
|
|
(name "libblockdev")
|
2022-11-19 19:00:01 -05:00
|
|
|
|
(version "2.28")
|
2018-05-29 06:32:52 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-10-10 14:05:18 -04:00
|
|
|
|
(uri (string-append "https://github.com/storaged-project/"
|
|
|
|
|
"libblockdev/releases/download/"
|
2018-05-29 06:32:52 -04:00
|
|
|
|
version "-1/libblockdev-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-11-19 19:00:01 -05:00
|
|
|
|
"1x3xbgd2dyjhcqvyalpnrp727xidfxmaxgyyvv5gwx4aw90wijc2"))))
|
2018-05-29 06:32:52 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-05-13 18:25:42 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-configuration-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "src/lib/blockdev.c"
|
|
|
|
|
(("/etc/libblockdev/conf.d/" path) (string-append out path)))))))))
|
2018-05-29 06:32:52 -04:00
|
|
|
|
(native-inputs
|
2022-05-28 20:00:00 -04:00
|
|
|
|
(list gobject-introspection
|
|
|
|
|
pkg-config
|
|
|
|
|
python-wrapper
|
|
|
|
|
util-linux))
|
2018-05-29 06:32:52 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list btrfs-progs
|
|
|
|
|
cryptsetup
|
|
|
|
|
dosfstools
|
|
|
|
|
dmraid
|
|
|
|
|
eudev
|
|
|
|
|
glib
|
|
|
|
|
kmod
|
|
|
|
|
libbytesize
|
|
|
|
|
libyaml
|
|
|
|
|
lvm2
|
|
|
|
|
mdadm
|
|
|
|
|
ndctl
|
|
|
|
|
nss
|
|
|
|
|
parted
|
|
|
|
|
volume-key
|
|
|
|
|
xfsprogs))
|
2018-05-29 06:32:52 -04:00
|
|
|
|
(home-page "https://github.com/storaged-project/libblockdev")
|
|
|
|
|
(synopsis "Library for manipulating block devices")
|
|
|
|
|
(description
|
|
|
|
|
"libblockdev is a C library supporting GObject introspection for
|
|
|
|
|
manipulation of block devices. It has a plugin-based architecture where each
|
|
|
|
|
technology (like LVM, Btrfs, MD RAID, Swap...) is implemented in a separate
|
|
|
|
|
plugin, possibly with multiple implementations (e.g. using LVM CLI or the new
|
|
|
|
|
LVM D-Bus API).")
|
2018-10-10 14:05:18 -04:00
|
|
|
|
(license license:lgpl2.1+)))
|
2019-01-07 08:28:46 -05:00
|
|
|
|
|
|
|
|
|
(define-public rmlint
|
|
|
|
|
(package
|
|
|
|
|
(name "rmlint")
|
2023-08-05 20:00:00 -04:00
|
|
|
|
(version "2.10.2")
|
2019-01-07 08:28:46 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/sahib/rmlint")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-08-05 20:00:00 -04:00
|
|
|
|
"0sk4v1chnk2hvzi92svyf8qgamfs4fvial90qwx4a7dayxhkbsm4"))))
|
2019-01-07 08:28:46 -05:00
|
|
|
|
(build-system scons-build-system)
|
|
|
|
|
(arguments
|
2023-08-05 20:00:00 -04:00
|
|
|
|
(list
|
|
|
|
|
#:scons-flags
|
|
|
|
|
#~(list (string-append "--prefix=" #$output)
|
|
|
|
|
(string-append "--actual-prefix=" #$output))
|
|
|
|
|
#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'scons-propagate-environment
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; TODO: `rmlint --gui` fails with
|
|
|
|
|
;; "Failed to load shredder: No module named 'shredder'".
|
|
|
|
|
;; The GUI might also need extra dependencies, such as
|
|
|
|
|
;; python-gobject, python-cairo, dconf, librsvg, gtksourceview3.
|
|
|
|
|
(substitute* "lib/cmdline.c"
|
|
|
|
|
(("const char \\*commands\\[\\] = \\{\"python3\", \"python\", NULL\\};")
|
|
|
|
|
(string-append "const char *commands[] = {\""
|
|
|
|
|
(search-input-file inputs "/bin/python")
|
|
|
|
|
"\", \"python\", NULL};")))
|
|
|
|
|
;; By design, SCons does not, by default, propagate
|
|
|
|
|
;; environment variables to subprocesses. See:
|
|
|
|
|
;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
|
|
|
|
|
;; Here, we modify the SConstruct file to arrange for
|
|
|
|
|
;; environment variables to be propagated.
|
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
|
(("^env = Environment\\(.*\\)" all)
|
|
|
|
|
(string-append all "\nenv['ENV']=os.environ"))))))))
|
2019-01-07 08:28:46 -05:00
|
|
|
|
(native-inputs
|
2023-08-05 20:00:00 -04:00
|
|
|
|
(list `(,glib "bin") pkg-config python-sphinx))
|
2019-01-07 08:28:46 -05:00
|
|
|
|
(inputs
|
2023-08-05 20:00:00 -04:00
|
|
|
|
(list elfutils
|
|
|
|
|
glib
|
|
|
|
|
json-glib
|
|
|
|
|
python-wrapper
|
|
|
|
|
`(,util-linux "lib")))
|
2019-01-07 08:28:46 -05:00
|
|
|
|
(home-page "https://rmlint.rtfd.org")
|
2019-04-24 13:31:39 -04:00
|
|
|
|
(synopsis "Remove duplicates and other lint from the file system")
|
2019-01-07 08:28:46 -05:00
|
|
|
|
(description "@command{rmlint} finds space waste and other broken things
|
2019-04-24 13:31:39 -04:00
|
|
|
|
on your file system and offers to remove it. @command{rmlint} can find:
|
2019-01-07 08:28:46 -05:00
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item duplicate files and duplicate directories,
|
|
|
|
|
@item non-stripped binaries (i.e. binaries with debug symbols),
|
|
|
|
|
@item broken symbolic links,
|
|
|
|
|
@item empty files and directories,
|
|
|
|
|
@item files with broken user and/or group ID.
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(license license:gpl3+)))
|
2020-01-30 06:28:16 -05:00
|
|
|
|
|
|
|
|
|
(define-public lf
|
|
|
|
|
(package
|
|
|
|
|
(name "lf")
|
2024-04-06 05:22:01 -04:00
|
|
|
|
(version "31")
|
2024-04-06 05:32:09 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/gokcehan/lf")
|
|
|
|
|
(commit (string-append "r" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "03icsf4c3j7295s1d8s6srz5gf09a3lghgw3zfcd86p03zhkzsaf"))))
|
2020-01-30 06:28:16 -05:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
2024-04-06 05:32:09 -04:00
|
|
|
|
(list
|
|
|
|
|
#:install-source? #f
|
|
|
|
|
#:import-path "github.com/gokcehan/lf"))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list go-github-com-djherbis-times
|
|
|
|
|
go-github-com-gdamore-tcell-v2
|
|
|
|
|
go-github-com-mattn-go-runewidth
|
|
|
|
|
go-golang-org-x-term
|
|
|
|
|
go-gopkg-in-djherbis-times-v1))
|
2020-01-30 06:28:16 -05:00
|
|
|
|
(home-page "https://github.com/gokcehan/lf")
|
|
|
|
|
(synopsis "Console file browser similar to Ranger")
|
2024-04-06 05:32:09 -04:00
|
|
|
|
(description
|
|
|
|
|
"@code{lf} (as in \"list files\") is a terminal file manager written in
|
|
|
|
|
Go. It is heavily inspired by @code{ranger} with some missing and extra
|
|
|
|
|
features. Some of the missing features are deliberately omitted since they
|
|
|
|
|
are better handled by external tools.")
|
2020-01-30 06:28:16 -05:00
|
|
|
|
(license license:expat)))
|
2020-04-09 11:20:12 -04:00
|
|
|
|
|
|
|
|
|
(define-public xfe
|
|
|
|
|
(package
|
|
|
|
|
(name "xfe")
|
2021-05-13 22:35:31 -04:00
|
|
|
|
(version "1.44")
|
2020-04-09 11:20:12 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2020-05-01 16:19:43 -04:00
|
|
|
|
(string-append "mirror://sourceforge/xfe/xfe/" version "/"
|
2021-05-13 22:35:31 -04:00
|
|
|
|
"xfe-" version ".tar.xz"))
|
2020-04-09 11:20:12 -04:00
|
|
|
|
(sha256
|
2021-05-13 22:35:31 -04:00
|
|
|
|
(base32 "1dihq03jqjllb69r78d9ihjjadi39v7sgzdf68qpxz5xhp8i8k2r"))))
|
2020-04-09 11:20:12 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-05-05 11:22:01 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-05-13 22:35:31 -04:00
|
|
|
|
(add-after 'unpack 'patch-potfiles
|
|
|
|
|
(lambda _
|
|
|
|
|
;; To add missing entry 'intl/plural.c' to potfiles list.
|
|
|
|
|
;; Refer to https://sourceforge.net/p/xfe/bugs/257/
|
|
|
|
|
(substitute* "po/POTFILES.in"
|
|
|
|
|
(("src/help.h")
|
|
|
|
|
(string-append "src/help.h\n"
|
|
|
|
|
"intl/plural.c")))))
|
2020-05-05 11:22:01 -04:00
|
|
|
|
(add-after 'unpack 'patch-bin-dirs
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((bash (assoc-ref inputs "bash"))
|
|
|
|
|
(coreutils (assoc-ref inputs "coreutils"))
|
|
|
|
|
(findutils (assoc-ref inputs "findutils"))
|
|
|
|
|
(file-prog (assoc-ref inputs "file")))
|
|
|
|
|
(with-directory-excursion "src"
|
|
|
|
|
(substitute* '("FilePanel.cpp" "help.h" "SearchPanel.cpp"
|
2020-05-10 04:49:25 -04:00
|
|
|
|
"startupnotification.cpp" "xfeutils.cpp"
|
|
|
|
|
"../st/config.h")
|
2020-05-05 11:22:01 -04:00
|
|
|
|
(("/bin/sh" file) (string-append bash file))
|
|
|
|
|
(("/bin/ls" file) (string-append coreutils file))
|
|
|
|
|
(("/usr(/bin/du)" _ file) (string-append coreutils file))
|
|
|
|
|
(("/usr(/bin/sort)" _ file) (string-append coreutils file))
|
|
|
|
|
(("/usr(/bin/cut)" _ file) (string-append coreutils file))
|
|
|
|
|
(("/usr(/bin/xargs)" _ file) (string-append findutils file))
|
|
|
|
|
(("/usr(/bin/file)" _ file) (string-append file-prog file))))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'unpack 'patch-share-dirs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2020-05-10 04:49:25 -04:00
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(xfe (string-append share "/xfe")))
|
2020-05-05 11:22:01 -04:00
|
|
|
|
(with-directory-excursion "src"
|
|
|
|
|
(substitute* '("foxhacks.cpp" "help.h" "xfedefs.h"
|
|
|
|
|
"XFileExplorer.cpp")
|
2020-05-10 04:49:25 -04:00
|
|
|
|
(("/(usr|opt)(/local)?/share") share)
|
|
|
|
|
(("~/.config/xfe") xfe)))
|
2020-05-05 11:22:01 -04:00
|
|
|
|
#t))))))
|
2020-04-09 11:20:12 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list intltool pkg-config))
|
2020-04-09 11:20:12 -04:00
|
|
|
|
(inputs
|
2020-05-05 11:22:01 -04:00
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("coreutils" ,coreutils)
|
|
|
|
|
("file" ,file)
|
|
|
|
|
("findutils" ,findutils)
|
|
|
|
|
("fox" ,fox)
|
2020-04-09 11:20:12 -04:00
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("x11" ,libx11)
|
|
|
|
|
("xcb" ,libxcb)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xft" ,libxft)
|
|
|
|
|
("xrandr" ,libxrandr)))
|
|
|
|
|
(synopsis "File Manager for X-Based Graphical Systems")
|
2020-05-05 11:22:01 -04:00
|
|
|
|
(description "XFE (X File Explorer) is a file manager for X. It is based on
|
2020-04-09 11:20:12 -04:00
|
|
|
|
the popular but discontinued, X Win Commander. It aims to be the file manager
|
|
|
|
|
of choice for all light thinking Unix addicts!")
|
|
|
|
|
(home-page "http://roland65.free.fr/xfe/")
|
2020-05-01 16:19:43 -04:00
|
|
|
|
(license license:gpl2+)))
|
2020-08-06 06:28:29 -04:00
|
|
|
|
|
|
|
|
|
(define-public hddtemp
|
|
|
|
|
(package
|
|
|
|
|
(name "hddtemp")
|
2021-05-23 05:25:57 -04:00
|
|
|
|
;; <https://savannah.nongnu.org/projects/hddtemp/> advertises the project as
|
|
|
|
|
;; ‘orphaned/unmaintained’. Use a maintained fork/continuation.
|
|
|
|
|
(version "0.4.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/vitlav/hddtemp")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "04kylb2ka0jimi238zpfq1yii2caidpmj3ck51rvxz03y5lpq8fw"))))
|
2020-08-06 06:28:29 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list (string-append
|
|
|
|
|
"--with-db-path="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/share/hddtemp/hddtemp.db"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-05-23 05:25:57 -04:00
|
|
|
|
(add-before 'bootstrap 'delete-autogen.sh
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The default 'bootstrap phase works better.
|
|
|
|
|
(delete-file "autogen.sh")))
|
2020-08-06 06:28:29 -04:00
|
|
|
|
(add-after 'install 'install-db
|
2021-05-23 05:25:57 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(install-file "data/hddtemp.db"
|
|
|
|
|
(string-append out "/share/hddtemp"))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("gettext" ,gettext-minimal)))
|
|
|
|
|
(home-page "https://github.com/vitlav/hddtemp")
|
2020-08-06 06:28:29 -04:00
|
|
|
|
(synopsis "Report the temperature of hard drives from S.M.A.R.T. information")
|
|
|
|
|
(description "@command{hddtemp} is a small utility that gives you the
|
gnu: Fix typoes in package descriptions.
* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo.
* gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma)
(r-bigmemoryextras)[description]: Likewise.
* gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise.
(r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise.
* gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4)
(rust-tokio-fs-0.1)[synopsis, description]: Likewise.
(rust-blas-sys-0.7)[description]: Likewise.
(rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise.
* gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise.
* gnu/packages/disk.scm (hddtemp)[description]: Likewise.
* gnu/packages/django.scm (python-djangorestframework)[description]:
Likewise.
* gnu/packages/documentation.scm (doc++)[description]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless)
(emacs-scpaste)[description]: Likewise.
* gnu/packages/file-systems.scm (dbxfs)[description]: Likewise.
* gnu/packages/finance.scm (python-stdnum)[description]: Likewise.
* gnu/packages/fontutils.scm (woff2)[description]: Likewise.
* gnu/packages/games.scm (openttd-opengfx)[description]: Likewise.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux)
[description]: Likewise.
* gnu/packages/gnome.scm (libgrss)[description]: Likewise.
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk)
[description]: Likewise.
(go-github-com-go-git-go-billy)[synopsis, description]: Likewise.
* gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]:
Likewise.
* gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise.
* gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]:
Likewise.
* gnu/packages/java.scm (java-mail)[synopsis]: Likewise.
(java-native-access-platform)[description]: Likewise.
* gnu/packages/kde-frameworks.scm (kactivities-stats)[description]:
Likewise.
* gnu/packages/kde-utils.scm (krusader)[description]: Likewise.
* gnu/packages/language.scm (praat)[description]: Likewise.
* gnu/packages/linux.scm (light)[description]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]:
Likewise.
* gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]:
Likewise.
* gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo)
(ocaml4.07-ppx-variants-conv)[description]: Likewise.
* gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise.
* gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise.
* gnu/packages/python-web.scm (python-html5lib)[synopsis, description]:
Likewise.
(python-venusian)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-readlike, python-gssapi)
(python-flufl-i18n)[description]: Likewise.
(python-pox, python-watchdog, python-xattr)[synopsis, description]:
Likewise.
* gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise.
* gnu/packages/rust-apps.scm (watchexec)[description]: Likewise.
* gnu/packages/rust.scm (mrustc)[synopsis]: Likewise.
* gnu/packages/shells.scm (s-shell)[description]: Likewise.
* gnu/packages/ssh.scm (sshpass)[description]: Likewise.
* gnu/packages/terminals.scm (beep)[description]: Likewise.
* gnu/packages/web.scm (perl-lwp-useragent-cached)[description]:
Likewise.
* gnu/packages/wv.scm (wv)[description]: Likewise.
2020-09-22 15:31:52 -04:00
|
|
|
|
temperature of your hard drive by reading S.M.A.R.T. information (for drives
|
2020-08-06 06:28:29 -04:00
|
|
|
|
that support this feature).")
|
|
|
|
|
(license license:gpl2+)))
|
2020-10-06 03:54:31 -04:00
|
|
|
|
|
|
|
|
|
(define-public memkind
|
|
|
|
|
(package
|
|
|
|
|
(name "memkind")
|
2022-06-04 20:00:01 -04:00
|
|
|
|
(version "1.13.0")
|
2020-10-06 03:54:31 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 13:18:54 -05:00
|
|
|
|
(url "https://github.com/memkind/memkind")
|
2020-10-06 03:54:31 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
2020-10-06 06:45:35 -04:00
|
|
|
|
(file-name (git-file-name name version))
|
2020-10-06 03:54:31 -04:00
|
|
|
|
(sha256
|
2022-06-04 20:00:01 -04:00
|
|
|
|
(base32 "0zbil6xqmsrnh773ihxyfna6pvvxv3kczdb3g863ssflwwvv7h4w"))))
|
2020-10-06 03:54:31 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ;; memkind patched jemalloc to add je_arenalookupx,
|
|
|
|
|
;; je_check_reallocatex--i.e. they forked jemalloc.
|
|
|
|
|
;("jemalloc" ,jemalloc)
|
|
|
|
|
ndctl numactl))
|
2020-10-06 03:54:31 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake libtool))
|
2020-10-06 03:54:31 -04:00
|
|
|
|
(arguments
|
2021-03-11 11:43:37 -05:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--docdir=" (assoc-ref %outputs "out")
|
|
|
|
|
"/share/doc/" ,name "-" ,version))
|
|
|
|
|
#:tests? #f ; Tests require a NUMA-enabled system.
|
2020-10-06 03:54:31 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'autogen-jemalloc
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "jemalloc"
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
(invoke "autoconf")
|
|
|
|
|
(substitute* "configure"
|
2021-12-17 15:00:21 -05:00
|
|
|
|
(("/bin/sh") (which "sh")))))))))
|
2020-10-06 03:54:31 -04:00
|
|
|
|
(home-page "https://github.com/memkind/memkind")
|
|
|
|
|
(synopsis "Heap manager with memory kinds (for NUMA)")
|
|
|
|
|
(description "This package provides a user-extensible heap manager
|
|
|
|
|
built on top of jemalloc which enables control of memory characteristics
|
|
|
|
|
and a partitioning of the heap between kinds of memory (for NUMA).")
|
|
|
|
|
(license license:bsd-3)))
|
2021-04-27 23:39:53 -04:00
|
|
|
|
|
|
|
|
|
(define-public mmc-utils
|
2022-01-14 23:15:25 -05:00
|
|
|
|
(let ((commit "3969aa4804edb8aed7bcb3c958e49d0c7388b067")
|
|
|
|
|
(revision "1"))
|
2021-04-27 23:39:53 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "mmc-utils")
|
|
|
|
|
(version (git-version "0.1" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2022-01-15 03:56:51 -05:00
|
|
|
|
(url "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git")
|
2021-04-27 23:39:53 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-01-14 23:15:25 -05:00
|
|
|
|
(base32 "0pvcm685x63afvp8795jd4vn4zs8psh8bs6j2yvk1kgrawpyk10g"))))
|
2021-04-27 23:39:53 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No test suite
|
|
|
|
|
#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "CC=" ,(cc-for-target)))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; No ./configure script
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; The Makefile's "install-man" target is a no-op.
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man1 (string-append out "/share/man/man1")))
|
|
|
|
|
(install-file "man/mmc.1" man1)))))))
|
2022-01-15 03:56:51 -05:00
|
|
|
|
(home-page
|
|
|
|
|
"https://www.kernel.org/doc/html/latest/driver-api/mmc/mmc-tools.html")
|
2021-04-27 23:39:53 -04:00
|
|
|
|
(synopsis "Configure MMC storage devices from userspace")
|
|
|
|
|
(description "mmc-utils is a command-line tool for configuring and
|
|
|
|
|
inspecting MMC storage devices from userspace.")
|
|
|
|
|
(license license:gpl2))))
|
2021-05-12 10:38:56 -04:00
|
|
|
|
|
|
|
|
|
(define-public bmaptools
|
|
|
|
|
(package
|
|
|
|
|
(name "bmaptools")
|
|
|
|
|
(version "3.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/intel/bmap-tools")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"01xzrv5nvd2nvj91lz4x9s91y9825j9pj96z0ap6yvy3w2dgvkkl"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; XXX: Remove failing test.
|
|
|
|
|
(invoke "nosetests" "-v"
|
|
|
|
|
"--exclude" "test_bmap_helpers"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-mock python-nose))
|
2021-05-12 10:38:56 -04:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-six))
|
2021-05-12 10:38:56 -04:00
|
|
|
|
(home-page "https://github.com/intel/bmap-tools")
|
|
|
|
|
(synopsis "Create block map for a file or copy a file using block map")
|
|
|
|
|
(description "Bmaptool is a tool for creating the block map (bmap) for a
|
|
|
|
|
file and copying files using the block map. The idea is that large files,
|
|
|
|
|
like raw system image files, can be copied or flashed a lot faster and more
|
|
|
|
|
reliably with @code{bmaptool} than with traditional tools, like @code{dd} or
|
|
|
|
|
@code{cp}.")
|
|
|
|
|
(license license:gpl2)))
|
2021-06-13 03:37:31 -04:00
|
|
|
|
|
|
|
|
|
(define-public duc
|
|
|
|
|
(package
|
|
|
|
|
(name "duc")
|
2022-07-23 20:00:02 -04:00
|
|
|
|
(version "1.4.5")
|
2021-06-13 03:37:31 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/zevv/duc")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-03-23 03:12:48 -04:00
|
|
|
|
"0sglcn38rgn6y3m5ahngizyn3x2rzhqjphs7g0ppnlinkz56rcv4"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "duc-fix-test-sh.patch"))))
|
2021-06-13 03:37:31 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2024-03-23 03:13:49 -04:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "src/duc/cmd-ui.c"
|
|
|
|
|
(("ncursesw/ncurses.h") "ncurses.h"))
|
|
|
|
|
(substitute* "examples/index.cgi"
|
|
|
|
|
(("/usr/local/bin/duc")
|
|
|
|
|
(string-append out "/bin/duc"))))))
|
|
|
|
|
(add-after 'install 'install-examples
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" #$name "-" #$version)))
|
|
|
|
|
(copy-recursively "examples" (string-append doc "/examples")))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(substitute* "test.sh"
|
|
|
|
|
;; Keep the test logs where --keep-failed can see them.
|
|
|
|
|
(("^(DUC_TEST_DIR=).*" _ assign)
|
|
|
|
|
(format #f "~a~a/test-directory~%" assign (getcwd)))
|
|
|
|
|
;; XXX ‘actual size’ differed on my system (a consistent 348160
|
|
|
|
|
;; bytes where the tests expect 540672). However, the ‘apparent
|
|
|
|
|
;; size’ matches, as does the actual test output. Good enough…?
|
|
|
|
|
((" [0-9]*B actual") " [0-9]*B actual"))
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "./test.sh"))))))) ; no ‘check’ target
|
2021-06-13 03:37:31 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2021-06-13 03:37:31 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list cairo pango tokyocabinet ncurses))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://duc.zevv.nl")
|
2021-06-13 03:37:31 -04:00
|
|
|
|
(synopsis "Library and suite of tools for inspecting disk usage")
|
|
|
|
|
(description "Duc maintains a database of accumulated sizes of
|
|
|
|
|
directories of the file system, and allows you to query this database with
|
|
|
|
|
some tools, or create fancy graphs showing you where your bytes are.
|
|
|
|
|
|
|
|
|
|
Duc comes with console utilities, ncurses and X11 user interfaces and a CGI
|
|
|
|
|
wrapper for disk usage querying and visualisation.")
|
|
|
|
|
(license license:lgpl3+)))
|
2021-12-15 16:21:06 -05:00
|
|
|
|
|
|
|
|
|
(define-public qdirstat
|
|
|
|
|
(package
|
|
|
|
|
(name "qdirstat")
|
2022-07-23 20:00:02 -04:00
|
|
|
|
(version "1.8.1")
|
2021-12-15 16:21:06 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/shundhammer/qdirstat")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-07-23 20:00:02 -04:00
|
|
|
|
"04vpdlwk01kgmc4r5rnrmrgd4sf2kfh1rjzb2rjkfxdd4pbghsy9"))))
|
2021-12-15 16:21:06 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(system* "qmake"
|
|
|
|
|
(string-append "INSTALL_PREFIX="
|
|
|
|
|
(assoc-ref outputs "out")))))
|
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(wrap-program (string-append
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/bin/qdirstat-cache-writer")
|
|
|
|
|
`("PERL5LIB" ":" prefix
|
|
|
|
|
(,(string-append
|
|
|
|
|
(assoc-ref inputs "perl-uri-escape")
|
|
|
|
|
"/lib/perl5/site_perl")))))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list bash-minimal
|
|
|
|
|
perl
|
|
|
|
|
perl-uri-escape
|
|
|
|
|
qtbase-5
|
|
|
|
|
zlib))
|
|
|
|
|
(synopsis "Storage utilisation visualization tool")
|
|
|
|
|
(description
|
|
|
|
|
"QDirStat is a graphical application to show where your disk space has
|
|
|
|
|
gone and to help you to clean it up.")
|
|
|
|
|
(home-page "https://github.com/shundhammer/qdirstat")
|
|
|
|
|
(license license:gpl2)))
|
2022-10-28 10:07:00 -04:00
|
|
|
|
|
2023-05-23 10:25:28 -04:00
|
|
|
|
(define-public nwipe
|
|
|
|
|
(package
|
|
|
|
|
(name "nwipe")
|
2024-04-01 14:35:02 -04:00
|
|
|
|
(version "0.36")
|
2023-05-23 10:25:28 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/martijnvanbrummelen/nwipe")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2024-04-01 14:35:02 -04:00
|
|
|
|
(base32 "075zwakv3lva46v6wab00l5x7bs2k73mzzhwlbvm839r8a6gm0dh"))))
|
2023-05-23 10:25:28 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(wrap-program (search-input-file outputs "bin/nwipe")
|
|
|
|
|
(list "PATH" ":" 'prefix
|
|
|
|
|
(map (lambda (p) (dirname (search-input-file inputs p)))
|
|
|
|
|
'("sbin/dmidecode"
|
|
|
|
|
"sbin/hdparm"
|
|
|
|
|
"sbin/smartctl")))))))))
|
|
|
|
|
(inputs
|
2023-11-18 19:00:00 -05:00
|
|
|
|
(list bash-minimal
|
|
|
|
|
dmidecode
|
|
|
|
|
hdparm
|
|
|
|
|
libconfig
|
|
|
|
|
ncurses
|
|
|
|
|
parted
|
|
|
|
|
smartmontools))
|
2023-05-23 10:25:28 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list autoconf automake libtool pkg-config))
|
|
|
|
|
(home-page "https://github.com/martijnvanbrummelen/nwipe")
|
|
|
|
|
(synopsis "Secure disk wiping utility")
|
|
|
|
|
(description
|
|
|
|
|
"@command{nwipe} securely erases disks using a variety of methods to
|
|
|
|
|
ensure the data cannot be recovered. It can wipe multiple drives in parallel
|
|
|
|
|
and can be used noninteractively or with a text-based user interface.")
|
|
|
|
|
(license
|
|
|
|
|
(list license:gpl2
|
|
|
|
|
license:bsd-3 ; mt19937ar-cok
|
|
|
|
|
license:public-domain)))) ; {isaac_rand,PDFGen}
|
|
|
|
|
|
2022-10-28 10:07:00 -04:00
|
|
|
|
(define-public wipe
|
|
|
|
|
(package
|
|
|
|
|
(name "wipe")
|
|
|
|
|
(version "2.3.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/wipe/wipe/" version
|
|
|
|
|
"/wipe-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"180snqvh6k6il6prb19fncflf2jcvkihlb4w84sbndcv1wvicfa6"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
;; The Makefile.in uses install -o root, but during the
|
|
|
|
|
;; build there is no root user, so if we leave that in,
|
|
|
|
|
;; the build fails with the following error:
|
|
|
|
|
;; /gnu/[...]/install: invalid user ‘root’
|
|
|
|
|
(("-o root") "")
|
|
|
|
|
;; It's up to the distribution to strip the binaries or
|
|
|
|
|
;; not.
|
|
|
|
|
(("\\$\\(INSTALL_BIN\\) -s ")
|
|
|
|
|
"$(INSTALL_BIN) "))))
|
|
|
|
|
(add-after 'unpack 'force-autotools-bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Rebuild the build system scripts, as the ones in bundles are
|
|
|
|
|
;; very old and do not support all the options used by Guix.
|
|
|
|
|
(delete-file "configure"))))))
|
|
|
|
|
(native-inputs (list autoconf automake libtool))
|
|
|
|
|
(home-page "https://wipe.sourceforge.net")
|
|
|
|
|
(synopsis "Secure file/block device wiping utility")
|
|
|
|
|
(description
|
|
|
|
|
"Wipe can erase files and block devices securely. To work properly it
|
|
|
|
|
relies on several assumptions like having the block device write the correct
|
|
|
|
|
sectors, etc. For files it also doesn't work on log-structured file systems
|
|
|
|
|
such as F2FS, JFFS, LogFS, etc. You should @emph{not} trust @command{wipe} to
|
|
|
|
|
work as advertised until you have manually verified that all its assumption
|
|
|
|
|
hold true on your system. To overwrite data it uses the Mersenne Twister
|
|
|
|
|
pseudo-random number generator (PRNG) that is seeded with @file{/dev/urandom}
|
|
|
|
|
or, if unavailable, @file{/dev/random}.")
|
|
|
|
|
(license license:gpl2+)))
|