2013-01-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2020-03-07 21:57:03 +01:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
2016-02-03 21:03:46 +01:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
|
2020-01-18 04:22:04 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Mark H Weaver <mhw@netris.org>
|
2015-01-13 16:25:29 +01:00
|
|
|
|
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
|
2015-02-09 23:35:03 +01:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2020-03-29 19:04:58 +02:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
|
2016-01-18 05:34:25 +01:00
|
|
|
|
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
2020-01-10 05:01:14 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-02-17 11:28:16 +01:00
|
|
|
|
;;; Copyright © 2016, 2017 Alex Kost <alezost@gmail.com>
|
2016-03-30 14:05:19 +02:00
|
|
|
|
;;; Copyright © 2016 Raymond Nicholson <rain1@openmailbox.org>
|
2016-04-18 21:36:42 +02:00
|
|
|
|
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
2020-02-02 10:42:16 +01:00
|
|
|
|
;;; Copyright © 2016, 2018, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2020-08-14 15:32:23 +02:00
|
|
|
|
;;; Copyright © 2016, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
|
2016-07-03 04:26:28 +02:00
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2016-08-30 06:41:55 +02:00
|
|
|
|
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
|
2020-01-08 19:56:54 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
2018-04-15 05:34:48 +02:00
|
|
|
|
;;; Copyright © 2016, 2018 Rene Saavedra <pacoon@protonmail.com>
|
2017-01-04 23:50:37 +01:00
|
|
|
|
;;; Copyright © 2016 Carlos Sánchez de La Lama <csanchezdll@gmail.com>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 13:05:45 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
2020-08-01 18:39:30 +02:00
|
|
|
|
;;; Copyright © 2017, 2018, 2020 Leo Famulari <leo@famulari.name>
|
2017-01-28 13:07:57 +01:00
|
|
|
|
;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.com>
|
2017-02-07 00:13:10 +01:00
|
|
|
|
;;; Copyright © 2017 Gábor Boskovits <boskovits@gmail.com>
|
2019-07-05 18:41:05 +02:00
|
|
|
|
;;; Copyright © 2017, 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
2017-05-25 20:02:45 +02:00
|
|
|
|
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
|
2019-03-07 12:05:38 +01:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
|
2017-06-10 19:12:10 +02:00
|
|
|
|
;;; Copyright © 2017 nee <nee-git@hidamari.blue>
|
2017-06-26 16:28:12 +02:00
|
|
|
|
;;; Copyright © 2017 Dave Love <fx@gnu.org>
|
2018-04-25 13:48:50 +02:00
|
|
|
|
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
2020-04-23 00:30:07 +02:00
|
|
|
|
;;; Copyright © 2018, 2020 Brendan Tildesley <mail@brendan.scot>
|
2018-08-31 17:24:42 +02:00
|
|
|
|
;;; Copyright © 2018 Manuel Graf <graf@init.at>
|
2018-10-20 12:17:24 +02:00
|
|
|
|
;;; Copyright © 2018 Pierre Langlois <pierre.langlois@gmx.com>
|
2018-12-30 20:05:17 +01:00
|
|
|
|
;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
|
2019-01-05 20:55:14 +01:00
|
|
|
|
;;; Copyright © 2019 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
|
2020-01-05 06:44:48 +01:00
|
|
|
|
;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2019-04-20 15:37:13 +02:00
|
|
|
|
;;; Copyright © 2019 Stefan Stefanović <stefanx2ovic@gmail.com>
|
2019-07-14 13:47:06 +02:00
|
|
|
|
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
|
2020-02-20 15:58:53 +01:00
|
|
|
|
;;; Copyright © 2019, 2020 Brice Waegeneire <brice@waegenei.re>
|
2019-07-24 02:43:56 +02:00
|
|
|
|
;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net>
|
2020-01-09 02:35:39 +01:00
|
|
|
|
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
2020-02-27 14:06:57 +01:00
|
|
|
|
;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
2020-03-03 12:35:06 +01:00
|
|
|
|
;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com>
|
2020-02-29 00:19:01 +01:00
|
|
|
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
2020-03-07 09:53:38 +01:00
|
|
|
|
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
2020-04-04 09:05:21 +02:00
|
|
|
|
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
2020-06-08 05:49:55 +02:00
|
|
|
|
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
|
2020-06-13 23:53:50 +02:00
|
|
|
|
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
|
2020-07-12 00:42:06 +02:00
|
|
|
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
2020-07-14 10:18:51 +02:00
|
|
|
|
;;; Copyright © 2020 Anders Thuné <asse.97@gmail.com>
|
2020-09-01 22:28:22 +02:00
|
|
|
|
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2020-09-30 21:00:53 +02:00
|
|
|
|
;;; Copyright © 2020 Greg Hogan <code@greghogan.com>
|
2020-10-09 14:43:03 +02:00
|
|
|
|
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
2012-11-27 21:56:37 +01:00
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; This file is part of GNU Guix.
|
2012-11-27 21:56:37 +01:00
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
2012-11-27 21:56:37 +01:00
|
|
|
|
;;; 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.
|
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
2012-11-27 21:56:37 +01:00
|
|
|
|
;;; 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
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
2012-11-27 21:56:37 +01:00
|
|
|
|
|
2013-01-18 01:06:24 +01:00
|
|
|
|
(define-module (gnu packages linux)
|
2013-01-18 01:06:47 +01:00
|
|
|
|
#:use-module (gnu packages)
|
2016-09-01 14:33:57 +02:00
|
|
|
|
#:use-module (gnu packages acl)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages admin)
|
|
|
|
|
#:use-module (gnu packages algebra)
|
2018-06-25 15:04:31 +02:00
|
|
|
|
#:use-module (gnu packages audio)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2017-06-02 09:20:27 +02:00
|
|
|
|
#:use-module (gnu packages backup)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages base)
|
2017-01-31 22:01:18 +01:00
|
|
|
|
#:use-module (gnu packages bash)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages bison)
|
2020-07-12 00:42:06 +02:00
|
|
|
|
#:use-module (gnu packages boost)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages calendar)
|
|
|
|
|
#:use-module (gnu packages check)
|
2020-06-14 07:52:55 +02:00
|
|
|
|
#:use-module (gnu packages cpio)
|
2016-08-24 02:51:52 +02:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2018-07-15 09:58:41 +02:00
|
|
|
|
#:use-module (gnu packages cryptsetup)
|
2015-03-04 17:02:07 +01:00
|
|
|
|
#:use-module (gnu packages compression)
|
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 14:48:47 +01:00
|
|
|
|
#:use-module (gnu packages dbm)
|
2017-02-16 01:02:08 +01:00
|
|
|
|
#:use-module (gnu packages datastructures)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages docbook)
|
|
|
|
|
#:use-module (gnu packages documentation)
|
|
|
|
|
#:use-module (gnu packages elf)
|
2013-01-18 01:06:24 +01:00
|
|
|
|
#:use-module (gnu packages flex)
|
2017-06-24 00:46:02 +02:00
|
|
|
|
#:use-module (gnu packages file)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2020-09-01 22:28:22 +02:00
|
|
|
|
#:use-module (gnu packages gawk)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages gcc)
|
|
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
|
#:use-module (gnu packages glib)
|
2019-04-05 07:57:44 +02:00
|
|
|
|
#:use-module (gnu packages golang)
|
2014-06-07 21:27:30 +02:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2019-07-24 02:43:56 +02:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2020-02-02 10:42:16 +01:00
|
|
|
|
#:use-module (gnu packages haskell-apps)
|
2020-01-05 06:44:48 +01:00
|
|
|
|
#:use-module (gnu packages haskell-xyz)
|
2017-10-17 11:30:31 +02:00
|
|
|
|
#:use-module (gnu packages libunwind)
|
2013-01-18 01:06:24 +01:00
|
|
|
|
#:use-module (gnu packages libusb)
|
2020-06-14 08:16:11 +02:00
|
|
|
|
#:use-module (gnu packages llvm)
|
|
|
|
|
#:use-module (gnu packages lua)
|
2017-01-28 13:07:57 +01:00
|
|
|
|
#:use-module (gnu packages man)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages maths)
|
2017-06-08 10:33:36 +02:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2013-01-18 01:06:24 +01:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2017-12-09 22:16:08 +01:00
|
|
|
|
#:use-module (gnu packages netpbm)
|
2017-01-31 22:01:18 +01:00
|
|
|
|
#:use-module (gnu packages networking)
|
2017-03-17 09:27:31 +01:00
|
|
|
|
#:use-module (gnu packages ninja)
|
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 15:14:57 +02:00
|
|
|
|
#:use-module (gnu packages nss)
|
2013-01-18 01:06:24 +01:00
|
|
|
|
#:use-module (gnu packages perl)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages pciutils)
|
2013-01-18 01:06:24 +01:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2016-10-07 08:28:27 +02:00
|
|
|
|
#:use-module (gnu packages popt)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2014-01-27 17:45:21 +01:00
|
|
|
|
#:use-module (gnu packages python)
|
2019-11-08 17:57:06 +01:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages readline)
|
|
|
|
|
#:use-module (gnu packages rrdtool)
|
2017-05-11 17:48:58 +02:00
|
|
|
|
#:use-module (gnu packages samba)
|
2019-07-24 02:43:56 +02:00
|
|
|
|
#:use-module (gnu packages sdl)
|
2019-03-05 16:21:45 +01:00
|
|
|
|
#:use-module (gnu packages serialization)
|
2015-01-21 14:54:56 +01:00
|
|
|
|
#:use-module (gnu packages slang)
|
2014-05-06 14:26:49 +02:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2015-12-10 15:34:42 +01:00
|
|
|
|
#:use-module (gnu packages tls)
|
2017-02-16 01:02:08 +01:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
2016-12-20 15:53:31 +01:00
|
|
|
|
#:use-module (gnu packages video)
|
2020-07-14 10:18:51 +02:00
|
|
|
|
#:use-module (gnu packages vulkan)
|
2017-04-18 15:42:40 +02:00
|
|
|
|
#:use-module (gnu packages web)
|
2016-12-20 15:53:31 +01:00
|
|
|
|
#:use-module (gnu packages xiph)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (gnu packages xml)
|
2016-10-28 00:56:10 +02:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
2017-06-26 16:28:12 +02:00
|
|
|
|
#:use-module (gnu packages groff)
|
2019-10-02 12:07:46 +02:00
|
|
|
|
#:use-module (gnu packages rsync)
|
2017-06-26 16:28:12 +02:00
|
|
|
|
#:use-module (gnu packages selinux)
|
2017-08-02 14:39:28 +02:00
|
|
|
|
#:use-module (gnu packages swig)
|
2014-03-10 22:31:08 +01:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2019-04-05 07:57:44 +02:00
|
|
|
|
#:use-module (guix build-system go)
|
2019-07-24 02:43:56 +02:00
|
|
|
|
#:use-module (guix build-system meson)
|
2014-05-03 16:37:04 +02:00
|
|
|
|
#:use-module (guix build-system python)
|
2014-07-10 00:31:31 +02:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2019-04-11 17:52:24 +02:00
|
|
|
|
#:use-module (guix build-system linux-module)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (guix download)
|
2017-07-26 02:33:27 +02:00
|
|
|
|
#:use-module (guix git-download)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
#:use-module (guix gexp)
|
|
|
|
|
#:use-module (guix store)
|
|
|
|
|
#:use-module (guix monads)
|
2016-07-03 04:05:39 +02:00
|
|
|
|
#:use-module (guix utils)
|
2020-10-11 16:56:36 +02:00
|
|
|
|
#:use-module (guix deprecation) ;for libcap/next
|
2016-02-02 07:18:44 +01:00
|
|
|
|
#:use-module (srfi srfi-1)
|
2016-02-02 07:11:12 +01:00
|
|
|
|
#:use-module (srfi srfi-2)
|
2014-07-10 00:31:31 +02:00
|
|
|
|
#:use-module (srfi srfi-26)
|
|
|
|
|
#:use-module (ice-9 match))
|
2012-11-27 21:56:37 +01:00
|
|
|
|
|
2013-02-27 09:25:00 +01:00
|
|
|
|
(define-public (system->linux-architecture arch)
|
|
|
|
|
"Return the Linux architecture name for ARCH, a Guix system name such as
|
2016-09-02 17:10:52 +02:00
|
|
|
|
\"x86_64-linux\" or a target triplet such as \"arm-linux-gnueabihf\"."
|
2013-02-19 12:17:08 +01:00
|
|
|
|
(let ((arch (car (string-split arch #\-))))
|
|
|
|
|
(cond ((string=? arch "i686") "i386")
|
|
|
|
|
((string-prefix? "mips" arch) "mips")
|
2013-02-27 09:25:00 +01:00
|
|
|
|
((string-prefix? "arm" arch) "arm")
|
2016-04-15 15:51:38 +02:00
|
|
|
|
((string-prefix? "aarch64" arch) "arm64")
|
2017-02-19 20:31:58 +01:00
|
|
|
|
((string-prefix? "alpha" arch) "alpha")
|
2017-07-07 14:28:24 +02:00
|
|
|
|
((string-prefix? "powerpc" arch) "powerpc") ;including "powerpc64le"
|
2018-02-16 15:50:42 +01:00
|
|
|
|
((string-prefix? "s390" arch) "s390")
|
2019-05-28 19:31:32 +02:00
|
|
|
|
((string-prefix? "riscv" arch) "riscv")
|
2013-02-19 12:17:08 +01:00
|
|
|
|
(else arch))))
|
|
|
|
|
|
2017-01-04 23:50:37 +01:00
|
|
|
|
(define-public (system->defconfig system)
|
|
|
|
|
"Some systems (notably powerpc-linux) require a special target for kernel
|
2017-06-22 01:12:23 +02:00
|
|
|
|
defconfig. Return the appropriate make target if applicable, otherwise return
|
2017-01-04 23:50:37 +01:00
|
|
|
|
\"defconfig\"."
|
|
|
|
|
(cond ((string-prefix? "powerpc-" system) "pmac32_defconfig")
|
2017-07-07 14:28:24 +02:00
|
|
|
|
((string-prefix? "powerpc64le-" system) "ppc64_defconfig")
|
2017-01-04 23:50:37 +01:00
|
|
|
|
(else "defconfig")))
|
|
|
|
|
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Kernel source code deblobbing.
|
|
|
|
|
;;;
|
|
|
|
|
|
|
|
|
|
(define (linux-libre-deblob-scripts version
|
|
|
|
|
deblob-hash
|
|
|
|
|
deblob-check-hash)
|
|
|
|
|
(list (version-major+minor version)
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://linux-libre.fsfla.org"
|
|
|
|
|
"/pub/linux-libre/releases/" version "-gnu/"
|
2020-09-16 01:57:48 +02:00
|
|
|
|
"deblob-" (version-major+minor version)))
|
2020-08-10 18:40:49 +02:00
|
|
|
|
(file-name (string-append "linux-libre-deblob-"
|
2020-09-16 01:57:48 +02:00
|
|
|
|
version))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(sha256 deblob-hash))
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://linux-libre.fsfla.org"
|
|
|
|
|
"/pub/linux-libre/releases/" version "-gnu/"
|
|
|
|
|
"deblob-check"))
|
2020-08-22 00:09:43 +02:00
|
|
|
|
(file-name (string-append "linux-libre-deblob-check-" version))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(sha256 deblob-check-hash))))
|
|
|
|
|
|
|
|
|
|
(define* (computed-origin-method gexp-promise hash-algo hash
|
|
|
|
|
#:optional (name "source")
|
|
|
|
|
#:key (system (%current-system))
|
|
|
|
|
(guile (default-guile)))
|
|
|
|
|
"Return a derivation that executes the G-expression that results
|
|
|
|
|
from forcing GEXP-PROMISE."
|
|
|
|
|
(mlet %store-monad ((guile (package->derivation guile system)))
|
|
|
|
|
(gexp->derivation (or name "computed-origin")
|
|
|
|
|
(force gexp-promise)
|
|
|
|
|
#:graft? #f ;nothing to graft
|
|
|
|
|
#:system system
|
|
|
|
|
#:guile-for-build guile)))
|
|
|
|
|
|
|
|
|
|
(define (make-linux-libre-source version
|
|
|
|
|
upstream-source
|
|
|
|
|
deblob-scripts)
|
|
|
|
|
"Return a 'computed' origin that generates a Linux-libre tarball from the
|
|
|
|
|
corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
|
|
|
|
|
(match deblob-scripts
|
|
|
|
|
((deblob-version (? origin? deblob) (? origin? deblob-check))
|
|
|
|
|
(unless (string=? deblob-version (version-major+minor version))
|
|
|
|
|
;; The deblob script cannot be expected to work properly on a
|
|
|
|
|
;; different version (major+minor) of Linux, even if no errors
|
|
|
|
|
;; are signaled during execution.
|
|
|
|
|
(error "deblob major+minor version mismatch"))
|
|
|
|
|
(origin
|
|
|
|
|
(method computed-origin-method)
|
|
|
|
|
(file-name (string-append "linux-libre-" version "-guix.tar.xz"))
|
|
|
|
|
(sha256 #f)
|
|
|
|
|
(uri
|
|
|
|
|
(delay
|
|
|
|
|
(with-imported-modules '((guix build utils))
|
|
|
|
|
#~(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(ice-9 match)
|
|
|
|
|
(ice-9 ftw))
|
2020-09-01 22:23:37 +02:00
|
|
|
|
|
|
|
|
|
(setvbuf (current-output-port) 'line)
|
|
|
|
|
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(let ((dir (string-append "linux-" #$version)))
|
|
|
|
|
|
|
|
|
|
(mkdir "/tmp/bin")
|
|
|
|
|
(set-path-environment-variable
|
|
|
|
|
"PATH" '("bin")
|
|
|
|
|
(list "/tmp"
|
|
|
|
|
#+(canonical-package bash)
|
|
|
|
|
#+(canonical-package coreutils)
|
|
|
|
|
#+(canonical-package diffutils)
|
|
|
|
|
#+(canonical-package findutils)
|
|
|
|
|
#+(canonical-package patch)
|
|
|
|
|
#+(canonical-package xz)
|
|
|
|
|
#+(canonical-package sed)
|
|
|
|
|
#+(canonical-package grep)
|
|
|
|
|
#+(canonical-package bzip2)
|
|
|
|
|
#+(canonical-package gzip)
|
|
|
|
|
#+(canonical-package tar)
|
2020-09-01 22:28:22 +02:00
|
|
|
|
#+(canonical-package gawk)
|
2020-09-01 22:12:53 +02:00
|
|
|
|
#+python-wrapper))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
(with-directory-excursion "/tmp/bin"
|
|
|
|
|
|
|
|
|
|
(copy-file #+deblob "deblob")
|
|
|
|
|
(chmod "deblob" #o755)
|
|
|
|
|
(substitute* "deblob"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
|
|
|
|
|
(copy-file #+deblob-check "deblob-check")
|
|
|
|
|
(chmod "deblob-check" #o755)
|
|
|
|
|
(substitute* "deblob-check"
|
|
|
|
|
(("/bin/sh") (which "sh"))
|
|
|
|
|
(("/bin/sed") (which "sed"))
|
|
|
|
|
(("/usr/bin/python") (which "python"))))
|
|
|
|
|
|
|
|
|
|
(if (file-is-directory? #+upstream-source)
|
|
|
|
|
(begin
|
|
|
|
|
(format #t "Copying upstream linux source...~%")
|
|
|
|
|
(invoke "cp" "--archive" #+upstream-source dir)
|
|
|
|
|
(invoke "chmod" "--recursive" "u+w" dir))
|
|
|
|
|
(begin
|
|
|
|
|
(format #t "Unpacking upstream linux tarball...~%")
|
|
|
|
|
(invoke "tar" "xf" #$upstream-source)
|
|
|
|
|
(match (scandir "."
|
|
|
|
|
(lambda (name)
|
|
|
|
|
(and (not (member name '("." "..")))
|
|
|
|
|
(file-is-directory? name))))
|
|
|
|
|
((unpacked-dir)
|
|
|
|
|
(unless (string=? dir unpacked-dir)
|
|
|
|
|
(rename-file unpacked-dir dir)))
|
|
|
|
|
(dirs
|
|
|
|
|
(error "multiple directories found" dirs)))))
|
|
|
|
|
|
|
|
|
|
(with-directory-excursion dir
|
|
|
|
|
(format #t "Running deblob script...~%")
|
|
|
|
|
(invoke "/tmp/bin/deblob"))
|
|
|
|
|
|
|
|
|
|
(format #t "~%Packing new Linux-libre tarball...~%")
|
2019-07-27 23:02:43 +02:00
|
|
|
|
(invoke "tar" "cvfa" #$output
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
;; Avoid non-determinism in the archive.
|
|
|
|
|
"--mtime=@0"
|
|
|
|
|
"--owner=root:0"
|
|
|
|
|
"--group=root:0"
|
|
|
|
|
"--sort=name"
|
|
|
|
|
"--hard-dereference"
|
2020-09-01 22:28:22 +02:00
|
|
|
|
dir)
|
|
|
|
|
|
|
|
|
|
(format #t "~%Scanning the generated tarball for blobs...~%")
|
|
|
|
|
(invoke "/tmp/bin/deblob-check" "--use-awk" "--list-blobs"
|
|
|
|
|
#$output))))))))))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Kernel sources.
|
|
|
|
|
;;;
|
|
|
|
|
|
2013-07-17 15:32:52 +02:00
|
|
|
|
(define (linux-libre-urls version)
|
|
|
|
|
"Return a list of URLs for Linux-Libre VERSION."
|
|
|
|
|
(list (string-append
|
2017-10-30 08:02:10 +01:00
|
|
|
|
"https://linux-libre.fsfla.org/pub/linux-libre/releases/"
|
2013-07-17 15:32:52 +02:00
|
|
|
|
version "-gnu/linux-libre-" version "-gnu.tar.xz")
|
|
|
|
|
|
|
|
|
|
;; XXX: Work around <http://bugs.gnu.org/14851>.
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-"
|
|
|
|
|
version "-gnu.tar.xz")
|
|
|
|
|
|
|
|
|
|
;; Maybe this URL will become valid eventually.
|
|
|
|
|
(string-append
|
|
|
|
|
"mirror://gnu/linux-libre/" version "-gnu/linux-libre-"
|
|
|
|
|
version "-gnu.tar.xz")))
|
|
|
|
|
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(define (%upstream-linux-source version hash)
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org"
|
|
|
|
|
"/linux/kernel/v" (version-major version) ".x/"
|
|
|
|
|
"linux-" version ".tar.xz"))
|
|
|
|
|
(sha256 hash)))
|
|
|
|
|
|
2020-04-04 01:08:03 +02:00
|
|
|
|
|
2020-09-06 21:48:54 +02:00
|
|
|
|
;; The current "stable" kernel. That is, the most recently released major
|
|
|
|
|
;; version.
|
2020-12-17 00:22:15 +01:00
|
|
|
|
(define-public linux-libre-5.9-version "5.9.15")
|
gnu: linux-libre: Update to 5.9.1.
* gnu/packages/aux-files/linux-libre/5.8-arm.conf,
gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
gnu/packages/aux-files/linux-libre/5.8-i686.conf,
gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.9-arm.conf,
gnu/packages/aux-files/linux-libre/5.9-arm64.conf,
gnu/packages/aux-files/linux-libre/5.9-i686.conf,
gnu/packages/aux-files/linux-libre/5.9-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
* gnu/packages/linux.scm (linux-libre-5.8-version, deblob-scripts-5.8,
linux-libre-5.8-pristine-source, linux-libre-5.8-source,
linux-libre-headers-5.8, linux-libre-5.8): Remove variables.
(linux-libre-5.9-version, deblob-scripts-5.9, linux-libre-5.9-pristine-source,
linux-libre-5.9-source, linux-libre-headers-5.9, linux-libre-5.9): New
variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre): Point to linux-libre-5.9*.
(linux-libre-with-bpf): Use linux-libre-5.9.
2020-10-21 19:30:32 +02:00
|
|
|
|
(define deblob-scripts-5.9
|
2020-09-06 21:48:54 +02:00
|
|
|
|
(linux-libre-deblob-scripts
|
gnu: linux-libre: Update to 5.9.1.
* gnu/packages/aux-files/linux-libre/5.8-arm.conf,
gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
gnu/packages/aux-files/linux-libre/5.8-i686.conf,
gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.9-arm.conf,
gnu/packages/aux-files/linux-libre/5.9-arm64.conf,
gnu/packages/aux-files/linux-libre/5.9-i686.conf,
gnu/packages/aux-files/linux-libre/5.9-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
* gnu/packages/linux.scm (linux-libre-5.8-version, deblob-scripts-5.8,
linux-libre-5.8-pristine-source, linux-libre-5.8-source,
linux-libre-headers-5.8, linux-libre-5.8): Remove variables.
(linux-libre-5.9-version, deblob-scripts-5.9, linux-libre-5.9-pristine-source,
linux-libre-5.9-source, linux-libre-headers-5.9, linux-libre-5.9): New
variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre): Point to linux-libre-5.9*.
(linux-libre-with-bpf): Use linux-libre-5.9.
2020-10-21 19:30:32 +02:00
|
|
|
|
linux-libre-5.9-version
|
|
|
|
|
(base32 "1l0iw2lp6alk0a8nvdafklyks83iiyw4b2r5xif84z47qfbydsis")
|
2020-12-17 00:22:15 +01:00
|
|
|
|
(base32 "1vrv78xwcy32b82plkkbpyfxhpy3br7b18sjah4iqv25fxfcxpak")))
|
gnu: linux-libre: Update to 5.9.1.
* gnu/packages/aux-files/linux-libre/5.8-arm.conf,
gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
gnu/packages/aux-files/linux-libre/5.8-i686.conf,
gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.9-arm.conf,
gnu/packages/aux-files/linux-libre/5.9-arm64.conf,
gnu/packages/aux-files/linux-libre/5.9-i686.conf,
gnu/packages/aux-files/linux-libre/5.9-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
* gnu/packages/linux.scm (linux-libre-5.8-version, deblob-scripts-5.8,
linux-libre-5.8-pristine-source, linux-libre-5.8-source,
linux-libre-headers-5.8, linux-libre-5.8): Remove variables.
(linux-libre-5.9-version, deblob-scripts-5.9, linux-libre-5.9-pristine-source,
linux-libre-5.9-source, linux-libre-headers-5.9, linux-libre-5.9): New
variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre): Point to linux-libre-5.9*.
(linux-libre-with-bpf): Use linux-libre-5.9.
2020-10-21 19:30:32 +02:00
|
|
|
|
(define-public linux-libre-5.9-pristine-source
|
|
|
|
|
(let ((version linux-libre-5.9-version)
|
2020-12-17 00:22:15 +01:00
|
|
|
|
(hash (base32 "1vhaayqjv1ha3nsxy9zbsz497ba4d4a1g0gfhgxcvci8dp8djh2p")))
|
2020-08-09 05:09:53 +02:00
|
|
|
|
(make-linux-libre-source version
|
|
|
|
|
(%upstream-linux-source version hash)
|
gnu: linux-libre: Update to 5.9.1.
* gnu/packages/aux-files/linux-libre/5.8-arm.conf,
gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
gnu/packages/aux-files/linux-libre/5.8-i686.conf,
gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.9-arm.conf,
gnu/packages/aux-files/linux-libre/5.9-arm64.conf,
gnu/packages/aux-files/linux-libre/5.9-i686.conf,
gnu/packages/aux-files/linux-libre/5.9-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
* gnu/packages/linux.scm (linux-libre-5.8-version, deblob-scripts-5.8,
linux-libre-5.8-pristine-source, linux-libre-5.8-source,
linux-libre-headers-5.8, linux-libre-5.8): Remove variables.
(linux-libre-5.9-version, deblob-scripts-5.9, linux-libre-5.9-pristine-source,
linux-libre-5.9-source, linux-libre-headers-5.9, linux-libre-5.9): New
variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre): Point to linux-libre-5.9*.
(linux-libre-with-bpf): Use linux-libre-5.9.
2020-10-21 19:30:32 +02:00
|
|
|
|
deblob-scripts-5.9)))
|
2020-08-09 05:09:53 +02:00
|
|
|
|
|
2020-09-06 21:48:54 +02:00
|
|
|
|
;; The "longterm" kernels — the older releases with long-term upstream support.
|
|
|
|
|
;; Here are the support timelines:
|
|
|
|
|
;; <https://www.kernel.org/category/releases.html>
|
2020-12-12 06:36:53 +01:00
|
|
|
|
(define-public linux-libre-5.4-version "5.4.83")
|
2020-09-06 21:48:54 +02:00
|
|
|
|
(define deblob-scripts-5.4
|
|
|
|
|
(linux-libre-deblob-scripts
|
2020-09-18 03:11:50 +02:00
|
|
|
|
linux-libre-5.4-version
|
2020-09-06 21:48:54 +02:00
|
|
|
|
(base32 "0ckxn7k5zgcqk30dq943bnamr6a6zjbw2aqjl3x30f4kvh5f6k25")
|
2020-11-11 08:59:26 +01:00
|
|
|
|
(base32 "167zcfkw62pm6nv1xdvvhxw0ca724sywcywnv3z00189f8f8p3vg")))
|
gnu: linux-libre: Update to 5.4.5.
* gnu/packages/aux-files/linux-libre/5.3-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.3-arm.conf,
gnu/packages/aux-files/linux-libre/5.3-arm64.conf,
gnu/packages/aux-files/linux-libre/5.3-i686.conf,
gnu/packages/aux-files/linux-libre/5.3-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.4-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Update accordingly.
* gnu/packages/patches/linux-libre-active-entropy.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (deblob-scripts-5.3, linux-libre-5.3-version)
(linux-libre-5.3-pristine-source, linux-libre-5.3-source)
(linux-libre-headers-5.3, linux-libre-5.3): Remove variables.
(deblob-scripts-5.4, linux-libre-5.4-version)
(linux-libre-5.4-pristine-source, linux-libre-5.4-source)
(linux-libre-headers-5.4, linux-libre-5.4): New variables.
(linux-libre-version, linux-libre-pristine-source)
(linux-libre-source, linux-libre): Point to linux-libre-5.4*.
2019-12-18 22:29:49 +01:00
|
|
|
|
(define-public linux-libre-5.4-pristine-source
|
|
|
|
|
(let ((version linux-libre-5.4-version)
|
2020-12-12 06:36:53 +01:00
|
|
|
|
(hash (base32 "1ik14pfgynkn1sjhgyhgmxjvviq0mgvk0ygj76w8mplkpc5rgv5y")))
|
2019-09-29 20:52:48 +02:00
|
|
|
|
(make-linux-libre-source version
|
|
|
|
|
(%upstream-linux-source version hash)
|
gnu: linux-libre: Update to 5.4.5.
* gnu/packages/aux-files/linux-libre/5.3-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.3-arm.conf,
gnu/packages/aux-files/linux-libre/5.3-arm64.conf,
gnu/packages/aux-files/linux-libre/5.3-i686.conf,
gnu/packages/aux-files/linux-libre/5.3-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.4-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Update accordingly.
* gnu/packages/patches/linux-libre-active-entropy.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (deblob-scripts-5.3, linux-libre-5.3-version)
(linux-libre-5.3-pristine-source, linux-libre-5.3-source)
(linux-libre-headers-5.3, linux-libre-5.3): Remove variables.
(deblob-scripts-5.4, linux-libre-5.4-version)
(linux-libre-5.4-pristine-source, linux-libre-5.4-source)
(linux-libre-headers-5.4, linux-libre-5.4): New variables.
(linux-libre-version, linux-libre-pristine-source)
(linux-libre-source, linux-libre): Point to linux-libre-5.4*.
2019-12-18 22:29:49 +01:00
|
|
|
|
deblob-scripts-5.4)))
|
2019-09-29 20:52:48 +02:00
|
|
|
|
|
2020-12-12 06:37:29 +01:00
|
|
|
|
(define-public linux-libre-4.19-version "4.19.163")
|
2020-09-06 21:48:54 +02:00
|
|
|
|
(define deblob-scripts-4.19
|
|
|
|
|
(linux-libre-deblob-scripts
|
2020-09-18 03:12:53 +02:00
|
|
|
|
linux-libre-4.19-version
|
2020-09-06 21:48:54 +02:00
|
|
|
|
(base32 "02zs405awaxydbapka4nz8h6lmnc0dahgczqsrs5s2bmzjyyqkcy")
|
|
|
|
|
(base32 "1jiaw0as1ippkrjdpd52657w5mz9qczg3y2hlra7m9k0xawwiqlf")))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(define-public linux-libre-4.19-pristine-source
|
|
|
|
|
(let ((version linux-libre-4.19-version)
|
2020-12-12 06:37:29 +01:00
|
|
|
|
(hash (base32 "1z65iwwyx2b01fncygckmhpxirzs52qfqmv3agirn4laxgjw9viy")))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre-source version
|
|
|
|
|
(%upstream-linux-source version hash)
|
|
|
|
|
deblob-scripts-4.19)))
|
|
|
|
|
|
2020-12-12 06:38:00 +01:00
|
|
|
|
(define-public linux-libre-4.14-version "4.14.212")
|
2020-09-06 21:48:54 +02:00
|
|
|
|
(define deblob-scripts-4.14
|
|
|
|
|
(linux-libre-deblob-scripts
|
2020-09-18 03:13:40 +02:00
|
|
|
|
linux-libre-4.14-version
|
2020-09-06 21:48:54 +02:00
|
|
|
|
(base32 "091jk9jkn9jf39bxpc7395bhcb7p96nkg3a8047380ki06lnfxh6")
|
|
|
|
|
(base32 "1qij18inijj6c3ma8hv98yjagnzxdxyn134da9fd23ky8q6hbvky")))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(define-public linux-libre-4.14-pristine-source
|
|
|
|
|
(let ((version linux-libre-4.14-version)
|
2020-12-12 06:38:00 +01:00
|
|
|
|
(hash (base32 "0y8ck8pfxm8862wi4cz8qp9x9b18yl448i8m7bpbphs290nc66qf")))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre-source version
|
|
|
|
|
(%upstream-linux-source version hash)
|
|
|
|
|
deblob-scripts-4.14)))
|
|
|
|
|
|
2020-12-12 06:38:34 +01:00
|
|
|
|
(define-public linux-libre-4.9-version "4.9.248")
|
2020-09-06 21:48:54 +02:00
|
|
|
|
(define deblob-scripts-4.9
|
|
|
|
|
(linux-libre-deblob-scripts
|
|
|
|
|
linux-libre-4.9-version
|
|
|
|
|
(base32 "1wvldzlv7q2xdbadas87dh593nxr4a8p5n0f8zpm72lja6w18hmg")
|
|
|
|
|
(base32 "0fxajshb75siq39lj5h8xvhdj8lcmddkslwlyj65rhlwk6g2r4b2")))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(define-public linux-libre-4.9-pristine-source
|
|
|
|
|
(let ((version linux-libre-4.9-version)
|
2020-12-12 06:38:34 +01:00
|
|
|
|
(hash (base32 "1kzczy0lz3lnjkhvx90dgjmzn3d3y55qxlihiclkr4y9c602d1s6")))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre-source version
|
|
|
|
|
(%upstream-linux-source version hash)
|
|
|
|
|
deblob-scripts-4.9)))
|
|
|
|
|
|
2020-12-12 06:39:26 +01:00
|
|
|
|
(define-public linux-libre-4.4-version "4.4.248")
|
2020-09-06 21:48:54 +02:00
|
|
|
|
(define deblob-scripts-4.4
|
|
|
|
|
(linux-libre-deblob-scripts
|
|
|
|
|
linux-libre-4.4-version
|
|
|
|
|
(base32 "0x2j1i88am54ih2mk7gyl79g25l9zz4r08xhl482l3fvjj2irwbw")
|
|
|
|
|
(base32 "0hhin1jpfkd6nwrb6xqxjzl3hdxy4pn8a15hy2d3d83yw6pflbsf")))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(define-public linux-libre-4.4-pristine-source
|
|
|
|
|
(let ((version linux-libre-4.4-version)
|
2020-12-12 06:39:26 +01:00
|
|
|
|
(hash (base32 "1z1xbkm0z0v6k3scszii5hi24pn391332g0li93p3n1rnv74jap5")))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre-source version
|
|
|
|
|
(%upstream-linux-source version hash)
|
|
|
|
|
deblob-scripts-4.4)))
|
|
|
|
|
|
|
|
|
|
(define %boot-logo-patch
|
|
|
|
|
;; Linux-Libre boot logo featuring Freedo and a gnu.
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.fsfla.org/svn/fsfla/software/linux-libre/"
|
|
|
|
|
"lemote/gnewsense/branches/3.16/100gnu+freedo.patch"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hk9swxxc80bmn2zd2qr5ccrjrk28xkypwhl4z0qx4hbivj7qm06"))))
|
|
|
|
|
|
|
|
|
|
(define %linux-libre-arm-export-__sync_icache_dcache-patch
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://salsa.debian.org/kernel-team/linux"
|
|
|
|
|
"/raw/34a7d9011fcfcfa38b68282fd2b1a8797e6834f0"
|
|
|
|
|
"/debian/patches/bugfix/arm/"
|
|
|
|
|
"arm-mm-export-__sync_icache_dcache-for-xen-privcmd.patch"))
|
|
|
|
|
(file-name "linux-libre-arm-export-__sync_icache_dcache.patch")
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1ifnfhpakzffn4b8n7x7w5cps9mzjxlkcfz9zqak2vaw8nzvl39f"))))
|
|
|
|
|
|
|
|
|
|
(define (source-with-patches source patches)
|
|
|
|
|
(origin
|
|
|
|
|
(inherit source)
|
|
|
|
|
(patches (append (origin-patches source)
|
|
|
|
|
patches))))
|
|
|
|
|
|
gnu: linux-libre: Update to 5.9.1.
* gnu/packages/aux-files/linux-libre/5.8-arm.conf,
gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
gnu/packages/aux-files/linux-libre/5.8-i686.conf,
gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.9-arm.conf,
gnu/packages/aux-files/linux-libre/5.9-arm64.conf,
gnu/packages/aux-files/linux-libre/5.9-i686.conf,
gnu/packages/aux-files/linux-libre/5.9-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
* gnu/packages/linux.scm (linux-libre-5.8-version, deblob-scripts-5.8,
linux-libre-5.8-pristine-source, linux-libre-5.8-source,
linux-libre-headers-5.8, linux-libre-5.8): Remove variables.
(linux-libre-5.9-version, deblob-scripts-5.9, linux-libre-5.9-pristine-source,
linux-libre-5.9-source, linux-libre-headers-5.9, linux-libre-5.9): New
variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre): Point to linux-libre-5.9*.
(linux-libre-with-bpf): Use linux-libre-5.9.
2020-10-21 19:30:32 +02:00
|
|
|
|
(define-public linux-libre-5.9-source
|
|
|
|
|
(source-with-patches linux-libre-5.9-pristine-source
|
2020-08-09 05:09:53 +02:00
|
|
|
|
(list %boot-logo-patch
|
|
|
|
|
%linux-libre-arm-export-__sync_icache_dcache-patch)))
|
|
|
|
|
|
gnu: linux-libre: Update to 5.4.5.
* gnu/packages/aux-files/linux-libre/5.3-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.3-arm.conf,
gnu/packages/aux-files/linux-libre/5.3-arm64.conf,
gnu/packages/aux-files/linux-libre/5.3-i686.conf,
gnu/packages/aux-files/linux-libre/5.3-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.4-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Update accordingly.
* gnu/packages/patches/linux-libre-active-entropy.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (deblob-scripts-5.3, linux-libre-5.3-version)
(linux-libre-5.3-pristine-source, linux-libre-5.3-source)
(linux-libre-headers-5.3, linux-libre-5.3): Remove variables.
(deblob-scripts-5.4, linux-libre-5.4-version)
(linux-libre-5.4-pristine-source, linux-libre-5.4-source)
(linux-libre-headers-5.4, linux-libre-5.4): New variables.
(linux-libre-version, linux-libre-pristine-source)
(linux-libre-source, linux-libre): Point to linux-libre-5.4*.
2019-12-18 22:29:49 +01:00
|
|
|
|
(define-public linux-libre-5.4-source
|
|
|
|
|
(source-with-patches linux-libre-5.4-pristine-source
|
|
|
|
|
(list %boot-logo-patch
|
2020-03-26 02:59:25 +01:00
|
|
|
|
%linux-libre-arm-export-__sync_icache_dcache-patch
|
|
|
|
|
;; Pinebook Pro patch from linux-next,
|
|
|
|
|
;; can be dropped for linux-libre 5.7
|
|
|
|
|
(search-patch
|
|
|
|
|
"linux-libre-support-for-Pinebook-Pro.patch"))))
|
2019-09-29 20:52:48 +02:00
|
|
|
|
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(define-public linux-libre-4.19-source
|
|
|
|
|
(source-with-patches linux-libre-4.19-pristine-source
|
|
|
|
|
(list %boot-logo-patch
|
2020-07-16 21:35:03 +02:00
|
|
|
|
%linux-libre-arm-export-__sync_icache_dcache-patch)))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
(define-public linux-libre-4.14-source
|
|
|
|
|
(source-with-patches linux-libre-4.14-pristine-source
|
2020-07-23 06:23:50 +02:00
|
|
|
|
(list %boot-logo-patch)))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
(define-public linux-libre-4.9-source
|
|
|
|
|
(source-with-patches linux-libre-4.9-pristine-source
|
2020-07-23 06:21:59 +02:00
|
|
|
|
(list %boot-logo-patch)))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
(define-public linux-libre-4.4-source
|
|
|
|
|
(source-with-patches linux-libre-4.4-pristine-source
|
2020-07-23 06:19:15 +02:00
|
|
|
|
(list %boot-logo-patch)))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Kernel headers.
|
|
|
|
|
;;;
|
|
|
|
|
|
|
|
|
|
(define (make-linux-libre-headers version hash-string)
|
|
|
|
|
(make-linux-libre-headers* version
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (linux-libre-urls version))
|
|
|
|
|
(sha256 (base32 hash-string)))))
|
|
|
|
|
|
|
|
|
|
(define (make-linux-libre-headers* version source)
|
2016-09-02 15:49:44 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "linux-libre-headers")
|
2019-05-29 18:04:43 +02:00
|
|
|
|
(version version)
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(source source)
|
2016-09-02 15:49:44 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2019-05-29 18:04:43 +02:00
|
|
|
|
(native-inputs `(("perl" ,perl)
|
|
|
|
|
,@(if (version>=? version "4.16")
|
|
|
|
|
`(("flex" ,flex)
|
|
|
|
|
("bison" ,bison))
|
2019-10-02 12:07:46 +02:00
|
|
|
|
'())
|
|
|
|
|
,@(if (version>=? version "5.3")
|
|
|
|
|
`(("rsync" ,rsync))
|
2019-05-29 18:04:43 +02:00
|
|
|
|
'())))
|
2016-09-02 15:49:44 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((arch ,(system->linux-architecture
|
|
|
|
|
(or (%current-target-system)
|
2017-01-04 23:50:37 +01:00
|
|
|
|
(%current-system))))
|
|
|
|
|
(defconfig ,(system->defconfig
|
|
|
|
|
(or (%current-target-system)
|
|
|
|
|
(%current-system)))))
|
2016-09-02 15:49:44 +02:00
|
|
|
|
(setenv "ARCH" arch)
|
2013-02-19 12:17:08 +01:00
|
|
|
|
(format #t "`ARCH' set to `~a'~%" (getenv "ARCH"))
|
2018-03-16 07:03:26 +01:00
|
|
|
|
(invoke "make" defconfig)
|
|
|
|
|
(invoke "make" "mrproper" "headers_check"))))
|
2016-09-02 15:49:44 +02:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2012-11-27 22:04:57 +01:00
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2018-03-16 07:03:26 +01:00
|
|
|
|
(invoke "make"
|
|
|
|
|
(string-append "INSTALL_HDR_PATH=" out)
|
|
|
|
|
"headers_install")
|
2015-06-04 14:37:53 +02:00
|
|
|
|
|
2018-03-16 07:03:26 +01:00
|
|
|
|
(mkdir (string-append out "/include/config"))
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append out
|
|
|
|
|
"/include/config/kernel.release")
|
|
|
|
|
(lambda (p)
|
|
|
|
|
(format p "~a-default~%" ,version)))
|
2015-06-04 14:37:53 +02:00
|
|
|
|
|
2018-03-16 07:03:26 +01:00
|
|
|
|
;; Remove the '.install' and '..install.cmd' files; the
|
|
|
|
|
;; latter contains store paths, which pulls in bootstrap
|
|
|
|
|
;; binaries in the build environment, and prevents bit
|
|
|
|
|
;; reproducibility for the bootstrap binaries.
|
|
|
|
|
(for-each delete-file (find-files out "\\.install"))
|
|
|
|
|
|
|
|
|
|
#t))))
|
2015-06-04 14:37:53 +02:00
|
|
|
|
#:allowed-references ()
|
2012-11-27 22:04:57 +01:00
|
|
|
|
#:tests? #f))
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/linux-libre/")
|
2012-11-27 22:04:57 +01:00
|
|
|
|
(synopsis "GNU Linux-Libre kernel headers")
|
|
|
|
|
(description "Headers of the Linux-Libre kernel.")
|
2016-09-02 15:49:44 +02:00
|
|
|
|
(license license:gpl2)))
|
2012-11-27 22:04:57 +01:00
|
|
|
|
|
gnu: linux-libre: Update to 5.9.1.
* gnu/packages/aux-files/linux-libre/5.8-arm.conf,
gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
gnu/packages/aux-files/linux-libre/5.8-i686.conf,
gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.9-arm.conf,
gnu/packages/aux-files/linux-libre/5.9-arm64.conf,
gnu/packages/aux-files/linux-libre/5.9-i686.conf,
gnu/packages/aux-files/linux-libre/5.9-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
* gnu/packages/linux.scm (linux-libre-5.8-version, deblob-scripts-5.8,
linux-libre-5.8-pristine-source, linux-libre-5.8-source,
linux-libre-headers-5.8, linux-libre-5.8): Remove variables.
(linux-libre-5.9-version, deblob-scripts-5.9, linux-libre-5.9-pristine-source,
linux-libre-5.9-source, linux-libre-headers-5.9, linux-libre-5.9): New
variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre): Point to linux-libre-5.9*.
(linux-libre-with-bpf): Use linux-libre-5.9.
2020-10-21 19:30:32 +02:00
|
|
|
|
(define-public linux-libre-headers-5.9
|
|
|
|
|
(make-linux-libre-headers* linux-libre-5.9-version
|
|
|
|
|
linux-libre-5.9-source))
|
2020-08-09 05:09:53 +02:00
|
|
|
|
|
gnu: linux-libre: Update to 5.4.5.
* gnu/packages/aux-files/linux-libre/5.3-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.3-arm.conf,
gnu/packages/aux-files/linux-libre/5.3-arm64.conf,
gnu/packages/aux-files/linux-libre/5.3-i686.conf,
gnu/packages/aux-files/linux-libre/5.3-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.4-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Update accordingly.
* gnu/packages/patches/linux-libre-active-entropy.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (deblob-scripts-5.3, linux-libre-5.3-version)
(linux-libre-5.3-pristine-source, linux-libre-5.3-source)
(linux-libre-headers-5.3, linux-libre-5.3): Remove variables.
(deblob-scripts-5.4, linux-libre-5.4-version)
(linux-libre-5.4-pristine-source, linux-libre-5.4-source)
(linux-libre-headers-5.4, linux-libre-5.4): New variables.
(linux-libre-version, linux-libre-pristine-source)
(linux-libre-source, linux-libre): Point to linux-libre-5.4*.
2019-12-18 22:29:49 +01:00
|
|
|
|
(define-public linux-libre-headers-5.4
|
|
|
|
|
(make-linux-libre-headers* linux-libre-5.4-version
|
|
|
|
|
linux-libre-5.4-source))
|
2019-09-29 20:52:48 +02:00
|
|
|
|
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(define-public linux-libre-headers-4.19
|
|
|
|
|
(make-linux-libre-headers* linux-libre-4.19-version
|
|
|
|
|
linux-libre-4.19-source))
|
|
|
|
|
|
|
|
|
|
(define-public linux-libre-headers-4.14
|
|
|
|
|
(make-linux-libre-headers* linux-libre-4.14-version
|
|
|
|
|
linux-libre-4.14-source))
|
|
|
|
|
|
|
|
|
|
(define-public linux-libre-headers-4.9
|
|
|
|
|
(make-linux-libre-headers* linux-libre-4.9-version
|
|
|
|
|
linux-libre-4.9-source))
|
|
|
|
|
|
|
|
|
|
(define-public linux-libre-headers-4.4
|
|
|
|
|
(make-linux-libre-headers* linux-libre-4.4-version
|
|
|
|
|
linux-libre-4.4-source))
|
|
|
|
|
|
|
|
|
|
;; The following package is used in the early bootstrap, and thus must be kept
|
|
|
|
|
;; stable and with minimal build requirements.
|
2020-01-31 13:14:47 +01:00
|
|
|
|
(define-public linux-libre-headers-5.4.20
|
|
|
|
|
(make-linux-libre-headers "5.4.20"
|
|
|
|
|
"1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47"))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
2020-01-31 13:14:47 +01:00
|
|
|
|
(define-public linux-libre-headers linux-libre-headers-5.4.20)
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Kernel configurations.
|
|
|
|
|
;;;
|
2019-01-01 04:24:06 +01:00
|
|
|
|
|
2016-09-13 17:59:56 +02:00
|
|
|
|
(define* (kernel-config arch #:key variant)
|
2014-07-10 00:31:31 +02:00
|
|
|
|
"Return the absolute file name of the Linux-Libre build configuration file
|
2016-09-13 17:59:56 +02:00
|
|
|
|
for ARCH and optionally VARIANT, or #f if there is no such configuration."
|
2017-02-17 11:28:16 +01:00
|
|
|
|
(let* ((name (string-append (if variant (string-append variant "-") "")
|
2016-09-15 21:54:01 +02:00
|
|
|
|
(if (string=? "i386" arch) "i686" arch) ".conf"))
|
2017-02-17 11:28:16 +01:00
|
|
|
|
(file (string-append "linux-libre/" name)))
|
|
|
|
|
(search-auxiliary-file file)))
|
2014-07-10 00:31:31 +02:00
|
|
|
|
|
2016-09-08 16:47:52 +02:00
|
|
|
|
(define %default-extra-linux-options
|
2019-07-17 09:09:15 +02:00
|
|
|
|
`(;; Some very mild hardening.
|
|
|
|
|
("CONFIG_SECURITY_DMESG_RESTRICT" . #t)
|
2019-09-29 19:11:50 +02:00
|
|
|
|
;; All kernels should have NAMESPACES options enabled
|
|
|
|
|
("CONFIG_NAMESPACES" . #t)
|
|
|
|
|
("CONFIG_UTS_NS" . #t)
|
|
|
|
|
("CONFIG_IPC_NS" . #t)
|
|
|
|
|
("CONFIG_USER_NS" . #t)
|
|
|
|
|
("CONFIG_PID_NS" . #t)
|
|
|
|
|
("CONFIG_NET_NS" . #t)
|
gnu: %default-extra-linux-options: Enable kernel options for elogind service.
Fixes: https://issues.guix.gnu.org/43078
These options are already enabled in the kernel configs included in guix, but
might be missing from variants using a defconfig from the upstream kernel,
such as linux-libre-arm-generic and linux-libre-arm64-generic.
* gnu/packages/linux (%default-extra-linux-options): Enable
CONFIG_CGROUP_FREEZER, CONFIG_BLK_CGROUP, CONFIG_CGROUP_WRITEBACK,
CONFIG_CGROUP_SCHED, CONFIG_CGROUP_PIDS, CONFIG_CGROUP_FREEZER,
CONFIG_CGROUP_DEVICE, CONFIG_CGROUP_CPUACCT, CONFIG_CGROUP_PERF,
CONFIG_SOCK_CGROUP_DATA, CONFIG_BLK_CGROUP_IOCOST, CONFIG_CGROUP_NET_PRIO,
CONFIG_CGROUP_NET_CLASSID, CONFIG_MEMCG, CONFIG_MEMCG_SWAP,
CONFIG_MEMCG_KMEM, CONFIG_CPUSETS and CONFIG_PROC_PID_CPUSET.
2020-08-27 23:47:43 +02:00
|
|
|
|
;; Various options needed for elogind service:
|
|
|
|
|
;; https://issues.guix.gnu.org/43078
|
|
|
|
|
("CONFIG_CGROUP_FREEZER" . #t)
|
|
|
|
|
("CONFIG_BLK_CGROUP" . #t)
|
|
|
|
|
("CONFIG_CGROUP_WRITEBACK" . #t)
|
|
|
|
|
("CONFIG_CGROUP_SCHED" . #t)
|
|
|
|
|
("CONFIG_CGROUP_PIDS" . #t)
|
|
|
|
|
("CONFIG_CGROUP_FREEZER" . #t)
|
|
|
|
|
("CONFIG_CGROUP_DEVICE" . #t)
|
|
|
|
|
("CONFIG_CGROUP_CPUACCT" . #t)
|
|
|
|
|
("CONFIG_CGROUP_PERF" . #t)
|
|
|
|
|
("CONFIG_SOCK_CGROUP_DATA" . #t)
|
|
|
|
|
("CONFIG_BLK_CGROUP_IOCOST" . #t)
|
|
|
|
|
("CONFIG_CGROUP_NET_PRIO" . #t)
|
|
|
|
|
("CONFIG_CGROUP_NET_CLASSID" . #t)
|
|
|
|
|
("CONFIG_MEMCG" . #t)
|
|
|
|
|
("CONFIG_MEMCG_SWAP" . #t)
|
|
|
|
|
("CONFIG_MEMCG_KMEM" . #t)
|
|
|
|
|
("CONFIG_CPUSETS" . #t)
|
|
|
|
|
("CONFIG_PROC_PID_CPUSET" . #t)
|
2019-07-17 09:09:15 +02:00
|
|
|
|
;; Modules required for initrd:
|
2016-09-29 12:50:47 +02:00
|
|
|
|
("CONFIG_NET_9P" . m)
|
|
|
|
|
("CONFIG_NET_9P_VIRTIO" . m)
|
|
|
|
|
("CONFIG_VIRTIO_BLK" . m)
|
|
|
|
|
("CONFIG_VIRTIO_NET" . m)
|
|
|
|
|
("CONFIG_VIRTIO_PCI" . m)
|
|
|
|
|
("CONFIG_VIRTIO_BALLOON" . m)
|
|
|
|
|
("CONFIG_VIRTIO_MMIO" . m)
|
|
|
|
|
("CONFIG_FUSE_FS" . m)
|
|
|
|
|
("CONFIG_CIFS" . m)
|
|
|
|
|
("CONFIG_9P_FS" . m)))
|
2016-09-08 16:47:52 +02:00
|
|
|
|
|
2020-06-14 07:52:55 +02:00
|
|
|
|
;; See https://github.com/iovisor/bcc/blob/master/INSTALL.md#kernel-configuration
|
|
|
|
|
(define %bpf-extra-linux-options
|
|
|
|
|
`(;; Needed for probes
|
|
|
|
|
("CONFIG_UPROBE_EVENTS" . #t)
|
|
|
|
|
("CONFIG_KPROBE_EVENTS" . #t)
|
|
|
|
|
;; kheaders module also helpful for tracing
|
|
|
|
|
("CONFIG_IKHEADERS" . #t)
|
|
|
|
|
("CONFIG_BPF" . #t)
|
|
|
|
|
("CONFIG_BPF_SYSCALL" . #t)
|
|
|
|
|
("CONFIG_BPF_JIT_ALWAYS_ON" . #t)
|
|
|
|
|
;; optional, for tc filters
|
|
|
|
|
("CONFIG_NET_CLS_BPF" . m)
|
|
|
|
|
;; optional, for tc actions
|
|
|
|
|
("CONFIG_NET_ACT_BPF" . m)
|
|
|
|
|
("CONFIG_BPF_JIT" . #t)
|
|
|
|
|
;; for Linux kernel versions 4.1 through 4.6
|
|
|
|
|
;; ("CONFIG_HAVE_BPF_JIT" . y)
|
|
|
|
|
;; for Linux kernel versions 4.7 and later
|
|
|
|
|
("CONFIG_HAVE_EBPF_JIT" . #t)
|
|
|
|
|
;; optional, for kprobes
|
|
|
|
|
("CONFIG_BPF_EVENTS" . #t)
|
|
|
|
|
;; kheaders module
|
|
|
|
|
("CONFIG_IKHEADERS" . #t)))
|
|
|
|
|
|
2016-09-08 16:47:52 +02:00
|
|
|
|
(define (config->string options)
|
|
|
|
|
(string-join (map (match-lambda
|
|
|
|
|
((option . 'm)
|
|
|
|
|
(string-append option "=m"))
|
|
|
|
|
((option . #t)
|
|
|
|
|
(string-append option "=y"))
|
|
|
|
|
((option . #f)
|
|
|
|
|
(string-append option "=n")))
|
|
|
|
|
options)
|
|
|
|
|
"\n"))
|
|
|
|
|
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Kernel package utilities.
|
|
|
|
|
;;;
|
|
|
|
|
|
|
|
|
|
(define* (make-linux-libre version hash-string supported-systems
|
2016-09-13 17:59:56 +02:00
|
|
|
|
#:key
|
|
|
|
|
;; A function that takes an arch and a variant.
|
|
|
|
|
;; See kernel-config for an example.
|
2016-09-08 18:06:22 +02:00
|
|
|
|
(extra-version #f)
|
2016-09-13 17:59:56 +02:00
|
|
|
|
(configuration-file #f)
|
2016-09-08 16:47:52 +02:00
|
|
|
|
(defconfig "defconfig")
|
2016-10-22 06:22:31 +02:00
|
|
|
|
(extra-options %default-extra-linux-options)
|
|
|
|
|
(patches (list %boot-logo-patch)))
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* version
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (linux-libre-urls version))
|
|
|
|
|
(sha256 (base32 hash-string))
|
|
|
|
|
(patches patches))
|
|
|
|
|
supported-systems
|
|
|
|
|
#:extra-version extra-version
|
|
|
|
|
#:configuration-file configuration-file
|
|
|
|
|
#:defconfig defconfig
|
|
|
|
|
#:extra-options extra-options))
|
|
|
|
|
|
|
|
|
|
(define* (make-linux-libre* version source supported-systems
|
|
|
|
|
#:key
|
|
|
|
|
;; A function that takes an arch and a variant.
|
|
|
|
|
;; See kernel-config for an example.
|
|
|
|
|
(extra-version #f)
|
|
|
|
|
(configuration-file #f)
|
|
|
|
|
(defconfig "defconfig")
|
|
|
|
|
(extra-options %default-extra-linux-options))
|
2016-09-02 15:57:47 +02:00
|
|
|
|
(package
|
2016-09-08 18:06:22 +02:00
|
|
|
|
(name (if extra-version
|
|
|
|
|
(string-append "linux-libre-" extra-version)
|
|
|
|
|
"linux-libre"))
|
2016-09-13 17:59:56 +02:00
|
|
|
|
(version version)
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(source source)
|
2016-09-08 19:38:24 +02:00
|
|
|
|
(supported-systems supported-systems)
|
2016-09-02 15:57:47 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("bc" ,bc)
|
|
|
|
|
("openssl" ,openssl)
|
2018-04-08 03:00:59 +02:00
|
|
|
|
("elfutils" ,elfutils) ; Needed to enable CONFIG_STACK_VALIDATION
|
2018-04-07 08:19:34 +02:00
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("bison" ,bison)
|
2019-01-01 04:33:33 +01:00
|
|
|
|
|
|
|
|
|
;; These are needed to compile the GCC plugins.
|
|
|
|
|
("gmp" ,gmp)
|
|
|
|
|
("mpfr" ,mpfr)
|
|
|
|
|
("mpc" ,mpc)
|
|
|
|
|
|
2016-12-20 23:36:21 +01:00
|
|
|
|
,@(match (and configuration-file
|
|
|
|
|
(configuration-file
|
|
|
|
|
(system->linux-architecture
|
|
|
|
|
(or (%current-target-system) (%current-system)))
|
|
|
|
|
#:variant (version-major+minor version)))
|
|
|
|
|
(#f ;no config for this platform
|
|
|
|
|
'())
|
|
|
|
|
((? string? config)
|
|
|
|
|
`(("kconfig" ,config))))))
|
2016-09-02 15:57:47 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1)
|
2019-10-04 21:36:42 +02:00
|
|
|
|
(srfi srfi-26)
|
2020-02-18 10:42:07 +01:00
|
|
|
|
(ice-9 ftw)
|
2016-09-02 15:57:47 +02:00
|
|
|
|
(ice-9 match))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-04-11 10:42:02 +02:00
|
|
|
|
(add-after 'unpack 'patch-/bin/pwd
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (find-files "." "^Makefile(\\.include)?$")
|
|
|
|
|
(("/bin/pwd") "pwd"))
|
|
|
|
|
#t))
|
2016-09-08 16:18:54 +02:00
|
|
|
|
(replace 'configure
|
2016-09-02 18:05:37 +02:00
|
|
|
|
(lambda* (#:key inputs native-inputs target #:allow-other-keys)
|
2016-03-30 14:05:19 +02:00
|
|
|
|
;; Avoid introducing timestamps
|
|
|
|
|
(setenv "KCONFIG_NOTIMESTAMP" "1")
|
|
|
|
|
(setenv "KBUILD_BUILD_TIMESTAMP" (getenv "SOURCE_DATE_EPOCH"))
|
|
|
|
|
|
2016-09-02 18:05:37 +02:00
|
|
|
|
;; Set ARCH and CROSS_COMPILE
|
2016-09-02 17:10:52 +02:00
|
|
|
|
(let ((arch ,(system->linux-architecture
|
|
|
|
|
(or (%current-target-system)
|
|
|
|
|
(%current-system)))))
|
2016-09-02 18:05:37 +02:00
|
|
|
|
(setenv "ARCH" arch)
|
|
|
|
|
(format #t "`ARCH' set to `~a'~%" (getenv "ARCH"))
|
2016-09-02 17:10:52 +02:00
|
|
|
|
|
2016-09-02 18:05:37 +02:00
|
|
|
|
(when target
|
|
|
|
|
(setenv "CROSS_COMPILE" (string-append target "-"))
|
|
|
|
|
(format #t "`CROSS_COMPILE' set to `~a'~%"
|
|
|
|
|
(getenv "CROSS_COMPILE"))))
|
2013-02-11 23:02:26 +01:00
|
|
|
|
|
2016-09-08 18:06:22 +02:00
|
|
|
|
(setenv "EXTRA_VERSION" ,extra-version)
|
|
|
|
|
|
2014-07-10 00:31:31 +02:00
|
|
|
|
(let ((build (assoc-ref %standard-phases 'build))
|
2017-11-07 18:14:32 +01:00
|
|
|
|
(config (assoc-ref (or native-inputs inputs) "kconfig")))
|
2014-07-10 13:03:46 +02:00
|
|
|
|
|
2016-09-26 12:10:21 +02:00
|
|
|
|
;; Use a custom kernel configuration file or a default
|
|
|
|
|
;; configuration file.
|
2014-07-10 13:03:46 +02:00
|
|
|
|
(if config
|
|
|
|
|
(begin
|
|
|
|
|
(copy-file config ".config")
|
|
|
|
|
(chmod ".config" #o666))
|
2018-02-14 09:37:22 +01:00
|
|
|
|
(invoke "make" ,defconfig))
|
2014-07-10 00:31:31 +02:00
|
|
|
|
|
|
|
|
|
;; Appending works even when the option wasn't in the
|
|
|
|
|
;; file. The last one prevails if duplicated.
|
2016-09-08 16:47:52 +02:00
|
|
|
|
(let ((port (open-file ".config" "a"))
|
|
|
|
|
(extra-configuration ,(config->string extra-options)))
|
|
|
|
|
(display extra-configuration port)
|
2014-07-10 00:31:31 +02:00
|
|
|
|
(close-port port))
|
|
|
|
|
|
2018-02-14 09:37:22 +01:00
|
|
|
|
(invoke "make" "oldconfig"))))
|
2016-09-02 15:57:47 +02:00
|
|
|
|
(replace 'install
|
2016-09-02 18:05:37 +02:00
|
|
|
|
(lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
|
2013-02-11 23:02:26 +01:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(moddir (string-append out "/lib/modules"))
|
2020-02-18 10:42:07 +01:00
|
|
|
|
(dtbdir (string-append out "/lib/dtbs")))
|
2016-09-26 12:10:21 +02:00
|
|
|
|
;; Install kernel image, kernel configuration and link map.
|
|
|
|
|
(for-each (lambda (file) (install-file file out))
|
2019-04-03 02:13:49 +02:00
|
|
|
|
(find-files "." "^(\\.config|bzImage|zImage|Image|vmlinuz|System\\.map|Module\\.symvers)$"))
|
2016-09-26 12:10:21 +02:00
|
|
|
|
;; Install device tree files
|
2018-05-19 23:08:41 +02:00
|
|
|
|
(unless (null? (find-files "." "\\.dtb$"))
|
|
|
|
|
(mkdir-p dtbdir)
|
|
|
|
|
(invoke "make" (string-append "INSTALL_DTBS_PATH=" dtbdir)
|
|
|
|
|
"dtbs_install"))
|
2016-09-26 12:10:21 +02:00
|
|
|
|
;; Install kernel modules
|
2013-02-11 23:02:26 +01:00
|
|
|
|
(mkdir-p moddir)
|
2018-02-14 09:37:22 +01:00
|
|
|
|
(invoke "make"
|
2020-02-18 10:42:07 +01:00
|
|
|
|
;; Disable depmod because the Guix system's module directory
|
|
|
|
|
;; is an union of potentially multiple packages. It is not
|
|
|
|
|
;; possible to use depmod to usefully calculate a dependency
|
|
|
|
|
;; graph while building only one of those packages.
|
|
|
|
|
"DEPMOD=true"
|
2018-02-14 09:37:22 +01:00
|
|
|
|
(string-append "MODULE_DIR=" moddir)
|
|
|
|
|
(string-append "INSTALL_PATH=" out)
|
|
|
|
|
(string-append "INSTALL_MOD_PATH=" out)
|
|
|
|
|
"INSTALL_MOD_STRIP=1"
|
2020-02-18 10:42:07 +01:00
|
|
|
|
"modules_install")
|
|
|
|
|
(let* ((versions (filter (lambda (name)
|
|
|
|
|
(not (string-prefix? "." name)))
|
|
|
|
|
(scandir moddir)))
|
|
|
|
|
(version (match versions
|
|
|
|
|
((x) x))))
|
|
|
|
|
;; There are symlinks to the build and source directory,
|
|
|
|
|
;; both of which will point to target /tmp/guix-build*
|
|
|
|
|
;; and thus not be useful in a profile. Delete the symlinks.
|
|
|
|
|
(false-if-file-not-found
|
|
|
|
|
(delete-file (string-append moddir "/" version "/build")))
|
|
|
|
|
(false-if-file-not-found
|
|
|
|
|
(delete-file (string-append moddir "/" version "/source"))))
|
|
|
|
|
#t))))
|
2013-02-11 23:02:26 +01:00
|
|
|
|
#:tests? #f))
|
2018-01-31 18:55:21 +01:00
|
|
|
|
(home-page "https://www.gnu.org/software/linux-libre/")
|
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 18:04:25 +02:00
|
|
|
|
(synopsis "100% free redistribution of a cleaned Linux kernel")
|
Synchronize package descriptions with 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/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.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/gv.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/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.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/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 16:14:23 +02:00
|
|
|
|
(description
|
2013-12-01 22:33:23 +01:00
|
|
|
|
"GNU Linux-Libre is a free (as in freedom) variant of the Linux kernel.
|
|
|
|
|
It has been modified to remove all non-free binary blobs.")
|
2016-09-02 15:57:47 +02:00
|
|
|
|
(license license:gpl2)))
|
2013-02-11 23:02:26 +01:00
|
|
|
|
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Generic kernel packages.
|
|
|
|
|
;;;
|
2018-01-29 08:21:30 +01:00
|
|
|
|
|
gnu: linux-libre: Update to 5.9.1.
* gnu/packages/aux-files/linux-libre/5.8-arm.conf,
gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
gnu/packages/aux-files/linux-libre/5.8-i686.conf,
gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.9-arm.conf,
gnu/packages/aux-files/linux-libre/5.9-arm64.conf,
gnu/packages/aux-files/linux-libre/5.9-i686.conf,
gnu/packages/aux-files/linux-libre/5.9-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
* gnu/packages/linux.scm (linux-libre-5.8-version, deblob-scripts-5.8,
linux-libre-5.8-pristine-source, linux-libre-5.8-source,
linux-libre-headers-5.8, linux-libre-5.8): Remove variables.
(linux-libre-5.9-version, deblob-scripts-5.9, linux-libre-5.9-pristine-source,
linux-libre-5.9-source, linux-libre-headers-5.9, linux-libre-5.9): New
variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre): Point to linux-libre-5.9*.
(linux-libre-with-bpf): Use linux-libre-5.9.
2020-10-21 19:30:32 +02:00
|
|
|
|
(define-public linux-libre-5.9
|
|
|
|
|
(make-linux-libre* linux-libre-5.9-version
|
|
|
|
|
linux-libre-5.9-source
|
2020-08-20 22:03:46 +02:00
|
|
|
|
'("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux" "riscv64-linux")
|
|
|
|
|
#:configuration-file kernel-config))
|
|
|
|
|
|
gnu: linux-libre: Update to 5.9.1.
* gnu/packages/aux-files/linux-libre/5.8-arm.conf,
gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
gnu/packages/aux-files/linux-libre/5.8-i686.conf,
gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.9-arm.conf,
gnu/packages/aux-files/linux-libre/5.9-arm64.conf,
gnu/packages/aux-files/linux-libre/5.9-i686.conf,
gnu/packages/aux-files/linux-libre/5.9-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
* gnu/packages/linux.scm (linux-libre-5.8-version, deblob-scripts-5.8,
linux-libre-5.8-pristine-source, linux-libre-5.8-source,
linux-libre-headers-5.8, linux-libre-5.8): Remove variables.
(linux-libre-5.9-version, deblob-scripts-5.9, linux-libre-5.9-pristine-source,
linux-libre-5.9-source, linux-libre-headers-5.9, linux-libre-5.9): New
variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre): Point to linux-libre-5.9*.
(linux-libre-with-bpf): Use linux-libre-5.9.
2020-10-21 19:30:32 +02:00
|
|
|
|
(define-public linux-libre-version linux-libre-5.9-version)
|
|
|
|
|
(define-public linux-libre-pristine-source linux-libre-5.9-pristine-source)
|
|
|
|
|
(define-public linux-libre-source linux-libre-5.9-source)
|
|
|
|
|
(define-public linux-libre linux-libre-5.9)
|
2020-08-20 22:03:46 +02:00
|
|
|
|
|
gnu: linux-libre: Update to 5.4.5.
* gnu/packages/aux-files/linux-libre/5.3-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.3-arm.conf,
gnu/packages/aux-files/linux-libre/5.3-arm64.conf,
gnu/packages/aux-files/linux-libre/5.3-i686.conf,
gnu/packages/aux-files/linux-libre/5.3-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.4-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Update accordingly.
* gnu/packages/patches/linux-libre-active-entropy.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (deblob-scripts-5.3, linux-libre-5.3-version)
(linux-libre-5.3-pristine-source, linux-libre-5.3-source)
(linux-libre-headers-5.3, linux-libre-5.3): Remove variables.
(deblob-scripts-5.4, linux-libre-5.4-version)
(linux-libre-5.4-pristine-source, linux-libre-5.4-source)
(linux-libre-headers-5.4, linux-libre-5.4): New variables.
(linux-libre-version, linux-libre-pristine-source)
(linux-libre-source, linux-libre): Point to linux-libre-5.4*.
2019-12-18 22:29:49 +01:00
|
|
|
|
(define-public linux-libre-5.4
|
|
|
|
|
(make-linux-libre* linux-libre-5.4-version
|
|
|
|
|
linux-libre-5.4-source
|
2020-02-02 00:19:56 +01:00
|
|
|
|
'("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux" "riscv64-linux")
|
2019-09-29 20:52:48 +02:00
|
|
|
|
#:configuration-file kernel-config))
|
|
|
|
|
|
2019-01-01 04:45:13 +01:00
|
|
|
|
(define-public linux-libre-4.19
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-4.19-version
|
|
|
|
|
linux-libre-4.19-source
|
|
|
|
|
'("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux")
|
|
|
|
|
#:configuration-file kernel-config))
|
2018-01-29 08:21:30 +01:00
|
|
|
|
|
|
|
|
|
(define-public linux-libre-4.14
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-4.14-version
|
|
|
|
|
linux-libre-4.14-source
|
|
|
|
|
'("x86_64-linux" "i686-linux" "armhf-linux")
|
|
|
|
|
#:configuration-file kernel-config))
|
2019-05-29 18:04:43 +02:00
|
|
|
|
|
2017-02-20 06:26:59 +01:00
|
|
|
|
(define-public linux-libre-4.9
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-4.9-version
|
|
|
|
|
linux-libre-4.9-source
|
|
|
|
|
'("x86_64-linux" "i686-linux")
|
|
|
|
|
#:configuration-file kernel-config))
|
2017-02-20 06:26:59 +01:00
|
|
|
|
|
2016-03-15 03:30:27 +01:00
|
|
|
|
(define-public linux-libre-4.4
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-4.4-version
|
|
|
|
|
linux-libre-4.4-source
|
|
|
|
|
'("x86_64-linux" "i686-linux")
|
|
|
|
|
#:configuration-file kernel-config
|
|
|
|
|
#:extra-options
|
|
|
|
|
(append
|
|
|
|
|
`(;; https://lists.gnu.org/archive/html/guix-devel/2014-04/msg00039.html
|
|
|
|
|
;; This option was removed upstream in version 4.7.
|
|
|
|
|
("CONFIG_DEVPTS_MULTIPLE_INSTANCES" . #t))
|
|
|
|
|
%default-extra-linux-options)))
|
2016-03-15 03:30:27 +01:00
|
|
|
|
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Specialized kernel variants.
|
|
|
|
|
;;;
|
2019-05-29 18:04:43 +02:00
|
|
|
|
|
2019-05-23 01:06:18 +02:00
|
|
|
|
(define-public linux-libre-arm-generic
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-version
|
|
|
|
|
linux-libre-source
|
|
|
|
|
'("armhf-linux")
|
|
|
|
|
#:defconfig "multi_v7_defconfig"
|
2020-04-05 23:23:59 +02:00
|
|
|
|
#:extra-version "arm-generic"
|
|
|
|
|
#:extra-options
|
|
|
|
|
(append
|
|
|
|
|
`(;; needed to fix the RTC on rockchip platforms
|
|
|
|
|
("CONFIG_RTC_DRV_RK808" . #t))
|
|
|
|
|
%default-extra-linux-options)))
|
2019-03-18 04:24:05 +01:00
|
|
|
|
|
2020-03-23 06:33:31 +01:00
|
|
|
|
(define-public linux-libre-arm-veyron
|
|
|
|
|
(deprecated-package "linux-libre-arm-veyron" linux-libre-arm-generic))
|
|
|
|
|
|
2020-08-11 19:26:08 +02:00
|
|
|
|
(define-public linux-libre-arm-generic-5.4
|
|
|
|
|
(make-linux-libre* linux-libre-5.4-version
|
|
|
|
|
linux-libre-5.4-source
|
|
|
|
|
'("armhf-linux")
|
|
|
|
|
#:defconfig "multi_v7_defconfig"
|
|
|
|
|
#:extra-version "arm-generic"
|
|
|
|
|
#:extra-options
|
|
|
|
|
(append
|
|
|
|
|
`(;; needed to fix the RTC on rockchip platforms
|
|
|
|
|
("CONFIG_RTC_DRV_RK808" . #t))
|
|
|
|
|
%default-extra-linux-options)))
|
|
|
|
|
|
2019-01-01 04:45:13 +01:00
|
|
|
|
(define-public linux-libre-arm-generic-4.19
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-4.19-version
|
|
|
|
|
linux-libre-4.19-source
|
|
|
|
|
'("armhf-linux")
|
|
|
|
|
#:defconfig "multi_v7_defconfig"
|
|
|
|
|
#:extra-version "arm-generic"))
|
2016-09-08 19:41:38 +02:00
|
|
|
|
|
2018-01-29 08:21:30 +01:00
|
|
|
|
(define-public linux-libre-arm-generic-4.14
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-4.14-version
|
|
|
|
|
linux-libre-4.14-source
|
|
|
|
|
'("armhf-linux")
|
|
|
|
|
#:defconfig "multi_v7_defconfig"
|
|
|
|
|
#:extra-version "arm-generic"))
|
2018-01-29 08:21:30 +01:00
|
|
|
|
|
2017-11-03 15:15:23 +01:00
|
|
|
|
(define-public linux-libre-arm-omap2plus
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-version
|
|
|
|
|
linux-libre-source
|
|
|
|
|
'("armhf-linux")
|
|
|
|
|
#:defconfig "omap2plus_defconfig"
|
|
|
|
|
#:extra-version "arm-omap2plus"))
|
2019-01-01 04:45:13 +01:00
|
|
|
|
|
|
|
|
|
(define-public linux-libre-arm-omap2plus-4.19
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-4.19-version
|
|
|
|
|
linux-libre-4.19-source
|
|
|
|
|
'("armhf-linux")
|
|
|
|
|
#:defconfig "omap2plus_defconfig"
|
|
|
|
|
#:extra-version "arm-omap2plus"))
|
2017-11-03 15:15:23 +01:00
|
|
|
|
|
2018-01-29 08:21:30 +01:00
|
|
|
|
(define-public linux-libre-arm-omap2plus-4.14
|
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 14:41:43 +02:00
|
|
|
|
(make-linux-libre* linux-libre-4.14-version
|
|
|
|
|
linux-libre-4.14-source
|
|
|
|
|
'("armhf-linux")
|
|
|
|
|
#:defconfig "omap2plus_defconfig"
|
|
|
|
|
#:extra-version "arm-omap2plus"))
|
2018-01-29 08:21:30 +01:00
|
|
|
|
|
2020-03-15 02:58:05 +01:00
|
|
|
|
(define-public linux-libre-arm64-generic
|
|
|
|
|
(make-linux-libre* linux-libre-version
|
|
|
|
|
linux-libre-source
|
|
|
|
|
'("aarch64-linux")
|
|
|
|
|
#:defconfig "defconfig"
|
2020-04-05 23:23:59 +02:00
|
|
|
|
#:extra-version "arm64-generic"
|
2020-08-10 21:06:08 +02:00
|
|
|
|
#:extra-options
|
|
|
|
|
(append
|
|
|
|
|
`(;; needed to fix the RTC on rockchip platforms
|
2020-10-19 19:04:35 +02:00
|
|
|
|
("CONFIG_RTC_DRV_RK808" . #t)
|
|
|
|
|
;; Pinebook display, battery, charger and usb
|
|
|
|
|
("CONFIG_DRM_ANALOGIX_ANX6345" . m)
|
|
|
|
|
("CONFIG_CHARGER_AXP20X" . m)
|
|
|
|
|
("CONFIG_INPUT_AXP20X_PEK" . m)
|
|
|
|
|
("CONFIG_CHARGER_AXP20X" . m)
|
|
|
|
|
("CONFIG_BATTERY_AXP20X" . m)
|
|
|
|
|
("CONFIG_PINCTRL_AXP209" . m)
|
|
|
|
|
("CONFIG_AXP20X_POWER" . m)
|
|
|
|
|
("CONFIG_AXP20X_ADC" . m))
|
2020-08-10 21:06:08 +02:00
|
|
|
|
%default-extra-linux-options)))
|
|
|
|
|
|
2020-08-11 23:54:57 +02:00
|
|
|
|
(define-public linux-libre-arm64-generic-5.4
|
|
|
|
|
(make-linux-libre* linux-libre-5.4-version
|
|
|
|
|
linux-libre-5.4-source
|
|
|
|
|
'("aarch64-linux")
|
|
|
|
|
#:defconfig "defconfig"
|
|
|
|
|
#:extra-version "arm64-generic"
|
|
|
|
|
#:extra-options
|
|
|
|
|
(append
|
|
|
|
|
`(;; needed to fix the RTC on rockchip platforms
|
|
|
|
|
("CONFIG_RTC_DRV_RK808" . #t))
|
|
|
|
|
%default-extra-linux-options)))
|
|
|
|
|
|
2020-02-02 00:19:56 +01:00
|
|
|
|
(define-public linux-libre-riscv64-generic
|
|
|
|
|
(make-linux-libre* linux-libre-version
|
|
|
|
|
linux-libre-source
|
|
|
|
|
'("riscv64-linux")
|
|
|
|
|
#:extra-version "riscv64-generic"))
|
|
|
|
|
|
2020-11-08 20:36:58 +01:00
|
|
|
|
(define-public linux-libre-mips64el-fuloong2e
|
|
|
|
|
(make-linux-libre* linux-libre-version
|
|
|
|
|
linux-libre-source
|
|
|
|
|
'("mips64el-linux")
|
|
|
|
|
#:defconfig "fuloong2e_defconfig"
|
|
|
|
|
#:extra-version "mips64el-fuloong2e"
|
|
|
|
|
#:extra-options
|
|
|
|
|
(append
|
|
|
|
|
`(("CONFIG_OVERLAY_FS" . m))
|
|
|
|
|
%default-extra-linux-options)))
|
|
|
|
|
|
2020-06-14 07:52:55 +02:00
|
|
|
|
(define-public linux-libre-with-bpf
|
|
|
|
|
(let ((base-linux-libre
|
|
|
|
|
(make-linux-libre*
|
gnu: linux-libre: Update to 5.9.1.
* gnu/packages/aux-files/linux-libre/5.8-arm.conf,
gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
gnu/packages/aux-files/linux-libre/5.8-i686.conf,
gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.9-arm.conf,
gnu/packages/aux-files/linux-libre/5.9-arm64.conf,
gnu/packages/aux-files/linux-libre/5.9-i686.conf,
gnu/packages/aux-files/linux-libre/5.9-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
* gnu/packages/linux.scm (linux-libre-5.8-version, deblob-scripts-5.8,
linux-libre-5.8-pristine-source, linux-libre-5.8-source,
linux-libre-headers-5.8, linux-libre-5.8): Remove variables.
(linux-libre-5.9-version, deblob-scripts-5.9, linux-libre-5.9-pristine-source,
linux-libre-5.9-source, linux-libre-headers-5.9, linux-libre-5.9): New
variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre): Point to linux-libre-5.9*.
(linux-libre-with-bpf): Use linux-libre-5.9.
2020-10-21 19:30:32 +02:00
|
|
|
|
linux-libre-5.9-version
|
|
|
|
|
linux-libre-5.9-source
|
2020-06-14 07:52:55 +02:00
|
|
|
|
'("x86_64-linux" "i686-linux" "armhf-linux"
|
|
|
|
|
"aarch64-linux" "riscv64-linux")
|
|
|
|
|
#:extra-version "bpf"
|
|
|
|
|
#:configuration-file kernel-config
|
|
|
|
|
#:extra-options
|
|
|
|
|
(append %bpf-extra-linux-options
|
|
|
|
|
%default-extra-linux-options))))
|
|
|
|
|
(package
|
|
|
|
|
(inherit base-linux-libre)
|
|
|
|
|
(inputs `(("cpio" ,cpio) ,@(package-inputs base-linux-libre))))))
|
|
|
|
|
|
|
|
|
|
|
2019-05-09 22:51:59 +02:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Linux kernel modules.
|
|
|
|
|
;;;
|
|
|
|
|
|
2019-05-10 22:02:26 +02:00
|
|
|
|
(define-public acpi-call-linux-module
|
2020-11-22 13:20:46 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "acpi-call-linux-module")
|
|
|
|
|
(version "1.2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/nix-community/acpi_call")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0mr4rjbv6fj4phf038addrgv32940bphghw2v9n1z4awvw7wzkbg"))))
|
|
|
|
|
(build-system linux-module-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-11-22 15:43:03 +01:00
|
|
|
|
(add-before 'install 'patch-shebangs-harder
|
|
|
|
|
;; The (only) shebangs in examples/ don't justify a reference.
|
|
|
|
|
;; However, do substitute a more portable one than the original.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (find-files "examples" ".")
|
|
|
|
|
(("^(#! *)/[^ ]*/" _ shebang)
|
|
|
|
|
(string-append shebang "/usr/bin/env ")))
|
|
|
|
|
#t))
|
2020-11-22 13:20:46 +01:00
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((target (string-append doc "/" file)))
|
|
|
|
|
(mkdir-p (dirname target))
|
|
|
|
|
(copy-recursively file target)))
|
|
|
|
|
(list "README.md" "examples"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://github.com/teleshoes/acpi_call")
|
|
|
|
|
(synopsis "Linux kernel module to perform ACPI method calls")
|
|
|
|
|
(description
|
|
|
|
|
"This simple Linux kernel module allows calls from user space to any
|
2019-05-10 22:02:26 +02:00
|
|
|
|
@acronym{ACPI, Advanced Configuration and Power Interface} method provided by
|
|
|
|
|
your computer's firmware, by writing to @file{/proc/acpi/call}. You can pass
|
2020-05-08 02:40:42 +02:00
|
|
|
|
any number of parameters of types @code{ACPI_INTEGER}, @code{ACPI_STRING},
|
2019-05-10 22:02:26 +02:00
|
|
|
|
and @code{ACPI_BUFFER}.
|
|
|
|
|
|
|
|
|
|
It grants direct and undocumented access to your hardware that may cause damage
|
|
|
|
|
and should be used with caution, especially on untested models.")
|
2020-11-22 13:20:46 +01:00
|
|
|
|
(license license:gpl3+))) ; see README.md (no licence headers)
|
2019-05-10 22:02:26 +02:00
|
|
|
|
|
2020-02-11 04:29:35 +01:00
|
|
|
|
(define-public rtl8812au-aircrack-ng-linux-module
|
2020-11-26 18:01:07 +01:00
|
|
|
|
(let ((commit "e9fbf5c051453941bbc029810b893a6c010714e6")
|
|
|
|
|
(revision "2"))
|
2020-02-11 04:29:35 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "rtl8812au-aircrack-ng-linux-module")
|
|
|
|
|
(version (git-version "5.6.4.2" revision commit))
|
|
|
|
|
(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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/aircrack-ng/rtl8812au")
|
2020-02-11 04:29:35 +01:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-11-26 18:01:07 +01:00
|
|
|
|
(base32 "0y71q7ajwz1w38gdmxd4p05hhkqndq504nndy6vfa16fxz6pqxhn"))
|
2020-02-11 04:29:35 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove bundled tarballs, APKs, word lists, speadsheets,
|
|
|
|
|
;; and other unnecessary unlicenced things.
|
|
|
|
|
(for-each delete-file-recursively (list "android"
|
|
|
|
|
"docs"
|
|
|
|
|
"tools"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system linux-module-build-system)
|
|
|
|
|
(arguments
|
2020-06-08 08:46:25 +02:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "KSRC="
|
|
|
|
|
(assoc-ref %build-inputs "linux-module-builder")
|
|
|
|
|
"/lib/modules/build"))
|
|
|
|
|
#:phases
|
2020-02-11 04:29:35 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
2020-06-08 08:46:25 +02:00
|
|
|
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" make-flags))))
|
2020-02-11 04:29:35 +01:00
|
|
|
|
#:tests? #f)) ; no test suite
|
|
|
|
|
(supported-systems '("x86_64-linux" "i686-linux"))
|
|
|
|
|
(home-page "https://github.com/aircrack-ng/rtl8812au")
|
|
|
|
|
(synopsis "Linux driver for Realtek USB wireless network adapters")
|
|
|
|
|
(description
|
|
|
|
|
"This is Realtek's rtl8812au Linux driver for USB 802.11n wireless
|
|
|
|
|
network adapters, modified by the aircrack-ng project to support monitor mode
|
|
|
|
|
and frame injection. It provides a @code{88XXau} kernel module that supports
|
|
|
|
|
RTL8812AU, RTL8821AU, and RTL8814AU chips.")
|
|
|
|
|
(license license:gpl2+))))
|
|
|
|
|
|
2020-04-12 12:38:22 +02:00
|
|
|
|
(define-public rtl8821ce-linux-module
|
2020-10-09 14:43:03 +02:00
|
|
|
|
(let ((commit "fe97b5003f2f3dd070f76ec38c00b83798c1cdea")
|
|
|
|
|
(revision "1"))
|
2020-04-12 12:38:22 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "rtl8821ce-linux-module")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/tomaspinho/rtl8821ce")
|
2020-04-12 12:38:22 +02:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-09 14:43:03 +02:00
|
|
|
|
"10mrp63npbqb39c442vx8mra278hw7sczb3b6bjrpr3gan6ljshn"))))
|
2020-04-12 12:38:22 +02:00
|
|
|
|
(build-system linux-module-build-system)
|
|
|
|
|
(arguments
|
2020-06-08 08:53:07 +02:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "KSRC="
|
|
|
|
|
(assoc-ref %build-inputs "linux-module-builder")
|
|
|
|
|
"/lib/modules/build"))
|
|
|
|
|
#:phases
|
2020-04-12 12:38:22 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
2020-06-08 08:53:07 +02:00
|
|
|
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" make-flags))))
|
|
|
|
|
#:tests? #f)) ; no test suite
|
2020-04-12 12:38:22 +02:00
|
|
|
|
(home-page "https://github.com/tomaspinho/rtl8821ce")
|
|
|
|
|
(synopsis "Linux driver for Realtek RTL8821CE wireless network adapters")
|
|
|
|
|
(description "This is Realtek's RTL8821CE Linux driver for wireless
|
|
|
|
|
network adapters.")
|
|
|
|
|
(license license:gpl2))))
|
|
|
|
|
|
gnu: linux-libre: Update to 5.1.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.
(%linux-libre-hash): Update hash.
(%linux-libre-5.0-patches): Rename to ...
(%linux-libre-5.1-patches): ... this.
(linux-libre, linux-libre-arm-generic, linux-libre-arm-veyron)
(linux-libre-arm-omap2plus): Use %linux-libre-5.1-patches.
(vhba-module): Move definition below the kernel packages.
* gnu/packages/aux-files/linux-libre/5.0-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.0-arm.conf,
gnu/packages/aux-files/linux-libre/5.0-arm64.conf,
gnu/packages/aux-files/linux-libre/5.0-i686.conf,
gnu/packages/aux-files/linux-libre/5.0-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.1-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.1-arm.conf,
gnu/packages/aux-files/linux-libre/5.1-arm64.conf,
gnu/packages/aux-files/linux-libre/5.1-i686.conf,
gnu/packages/aux-files/linux-libre/5.1-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
2019-05-06 09:58:48 +02:00
|
|
|
|
(define-public vhba-module
|
|
|
|
|
(package
|
|
|
|
|
(name "vhba-module")
|
2020-01-11 04:02:11 +01:00
|
|
|
|
(version "20200106")
|
gnu: linux-libre: Update to 5.1.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.
(%linux-libre-hash): Update hash.
(%linux-libre-5.0-patches): Rename to ...
(%linux-libre-5.1-patches): ... this.
(linux-libre, linux-libre-arm-generic, linux-libre-arm-veyron)
(linux-libre-arm-omap2plus): Use %linux-libre-5.1-patches.
(vhba-module): Move definition below the kernel packages.
* gnu/packages/aux-files/linux-libre/5.0-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.0-arm.conf,
gnu/packages/aux-files/linux-libre/5.0-arm64.conf,
gnu/packages/aux-files/linux-libre/5.0-i686.conf,
gnu/packages/aux-files/linux-libre/5.0-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.1-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.1-arm.conf,
gnu/packages/aux-files/linux-libre/5.1-arm64.conf,
gnu/packages/aux-files/linux-libre/5.1-i686.conf,
gnu/packages/aux-files/linux-libre/5.1-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
2019-05-06 09:58:48 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://downloads.sourceforge.net/cdemu/vhba-module/vhba-module-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-11 04:02:11 +01:00
|
|
|
|
"10rlvsfj0fw6n0qmwcnvhimqnsnhi7n55lyl7fq1pkwggf5218sr"))))
|
gnu: linux-libre: Update to 5.1.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.
(%linux-libre-hash): Update hash.
(%linux-libre-5.0-patches): Rename to ...
(%linux-libre-5.1-patches): ... this.
(linux-libre, linux-libre-arm-generic, linux-libre-arm-veyron)
(linux-libre-arm-omap2plus): Use %linux-libre-5.1-patches.
(vhba-module): Move definition below the kernel packages.
* gnu/packages/aux-files/linux-libre/5.0-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.0-arm.conf,
gnu/packages/aux-files/linux-libre/5.0-arm64.conf,
gnu/packages/aux-files/linux-libre/5.0-i686.conf,
gnu/packages/aux-files/linux-libre/5.0-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.1-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.1-arm.conf,
gnu/packages/aux-files/linux-libre/5.1-arm64.conf,
gnu/packages/aux-files/linux-libre/5.1-i686.conf,
gnu/packages/aux-files/linux-libre/5.1-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
2019-05-06 09:58:48 +02:00
|
|
|
|
(build-system linux-module-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; TODO: No tests?
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(home-page "https://cdemu.sourceforge.io/")
|
|
|
|
|
(synopsis "Kernel module that emulates SCSI devices")
|
|
|
|
|
(description "VHBA module provides a Virtual (SCSI) HBA, which is the link
|
|
|
|
|
between the CDemu userspace daemon and linux kernel.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-06-11 22:23:59 +02:00
|
|
|
|
(define-public bbswitch-module
|
2020-09-27 17:29:31 +02:00
|
|
|
|
;; Use "develop" branch since stable release does not build on Linux >= 5.6.
|
|
|
|
|
;; See https://github.com/Bumblebee-Project/bbswitch/issues/205.
|
|
|
|
|
(let ((commit "ddbd243638c7bc2baecf43a78aff46cdc12e9b2e"))
|
|
|
|
|
(package
|
|
|
|
|
(name "bbswitch-module")
|
|
|
|
|
(version (git-version "0.8" "1" commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Bumblebee-Project/bbswitch")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1pgldnza7mzd0flrxg4q69dwbq1fhl58m5c62ary5drb0xyf3lqb"))))
|
|
|
|
|
(build-system linux-module-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; No tests.
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/Bumblebee-Project/bbswitch")
|
|
|
|
|
(synopsis "Kernel module that disables discrete Nvidia graphics cards")
|
|
|
|
|
(description "The bbswitch module provides a way to toggle the Nvidia
|
2020-06-11 22:23:59 +02:00
|
|
|
|
graphics card on Optimus laptops.")
|
2020-09-27 17:29:31 +02:00
|
|
|
|
(license license:gpl2))))
|
2020-06-11 22:23:59 +02:00
|
|
|
|
|
2019-10-25 12:24:03 +02:00
|
|
|
|
(define-public ddcci-driver-linux
|
|
|
|
|
(package
|
|
|
|
|
(name "ddcci-driver-linux")
|
|
|
|
|
(version "0.3.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0vkkja3ykjil783zjpwp0vz7jy2fp9ccazzi3afd4fjk8gldin7f"))))
|
|
|
|
|
(build-system linux-module-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda args
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (module)
|
|
|
|
|
(with-directory-excursion module
|
|
|
|
|
(apply (assoc-ref %standard-phases 'build) args)))
|
|
|
|
|
'("ddcci" "ddcci-backlight"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda args
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (module)
|
|
|
|
|
(with-directory-excursion module
|
|
|
|
|
(apply (assoc-ref %standard-phases 'install) args)))
|
|
|
|
|
'("ddcci" "ddcci-backlight"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux")
|
|
|
|
|
(synopsis "Pair of Linux kernel drivers for DDC/CI monitors")
|
|
|
|
|
(description "This package provides two Linux kernel drivers, ddcci and
|
|
|
|
|
ddcci-backlight, that allows the control of DDC/CI monitors through the sysfs
|
|
|
|
|
interface. The ddcci module creates a character device for each DDC/CI
|
|
|
|
|
monitors in @file{/dev/bus/ddcci/[I²C busnumber]}. While the ddcci-backlight
|
|
|
|
|
module allows the control of the backlight level or luminance property when
|
|
|
|
|
supported under @file{/sys/class/backlight/}.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-06-08 05:49:55 +02:00
|
|
|
|
(define-public v4l2loopback-linux-module
|
|
|
|
|
(package
|
|
|
|
|
(name "v4l2loopback-linux-module")
|
|
|
|
|
(version "0.12.5")
|
|
|
|
|
(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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/umlaeute/v4l2loopback")
|
2020-06-08 05:49:55 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qi4l6yam8nrlmc3zwkrz9vph0xsj1cgmkqci4652mbpbzigg7vn"))))
|
|
|
|
|
(build-system linux-module-build-system)
|
2020-06-08 23:00:44 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; no test suite
|
2020-06-08 05:49:55 +02:00
|
|
|
|
(home-page "https://github.com/umlaeute/v4l2loopback")
|
2020-06-08 10:36:16 +02:00
|
|
|
|
(synopsis "Linux kernel module to create virtual V4L2 video devices")
|
|
|
|
|
(description
|
|
|
|
|
"This Linux module creates virtual video devices. @acronym{V4L2, Video
|
|
|
|
|
for Linux 2} applications will treat these as ordinary video devices but read
|
|
|
|
|
video data generated by another application, instead of a hardware device such
|
|
|
|
|
as a capture card.
|
|
|
|
|
|
|
|
|
|
This lets you apply nifty effects to your Jitsi video, for example, but also
|
|
|
|
|
allows some more serious things like adding streaming capabilities to an
|
|
|
|
|
application by hooking GStreamer into the loopback device.")
|
2020-06-08 05:49:55 +02:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-07-17 15:35:27 +02:00
|
|
|
|
|
2013-09-11 00:22:45 +02:00
|
|
|
|
;;;
|
|
|
|
|
;;; Pluggable authentication modules (PAM).
|
|
|
|
|
;;;
|
|
|
|
|
|
2012-11-27 21:56:37 +01:00
|
|
|
|
(define-public linux-pam
|
|
|
|
|
(package
|
|
|
|
|
(name "linux-pam")
|
2020-07-24 23:11:22 +02:00
|
|
|
|
(version "1.4.0")
|
2012-11-27 21:56:37 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-06-11 17:09:29 +02:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/linux-pam/linux-pam/releases/download/v"
|
|
|
|
|
version "/Linux-PAM-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-24 23:11:22 +02:00
|
|
|
|
"0d6hvz6lpkac08hw5wnlhfdm0fhqd0n6jf6v7fz3jhg6a6694vfd"))
|
2018-06-11 17:09:29 +02:00
|
|
|
|
(patches (search-patches "linux-pam-no-setfsuid.patch"))))
|
2016-09-20 21:59:20 +02:00
|
|
|
|
|
2012-11-27 21:56:37 +01:00
|
|
|
|
(build-system gnu-build-system)
|
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 12:01:56 +01:00
|
|
|
|
(native-inputs
|
2012-11-27 21:56:37 +01:00
|
|
|
|
`(("flex" ,flex)
|
|
|
|
|
|
|
|
|
|
;; TODO: optional dependencies
|
|
|
|
|
;; ("libxcrypt" ,libxcrypt)
|
|
|
|
|
;; ("cracklib" ,cracklib)
|
|
|
|
|
))
|
|
|
|
|
(arguments
|
2017-07-11 21:52:58 +02:00
|
|
|
|
`(;; Most users, such as `shadow', expect the headers to be under
|
2013-08-17 15:44:43 +02:00
|
|
|
|
;; `security'.
|
|
|
|
|
#:configure-flags (list (string-append "--includedir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
2017-07-11 21:52:58 +02:00
|
|
|
|
"/include/security")
|
|
|
|
|
|
|
|
|
|
;; XXX: <rpc/rpc.h> is missing from glibc when
|
|
|
|
|
;; cross-compiling, so we have to disable NIS
|
|
|
|
|
;; support altogether.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'("--disable-nis")
|
|
|
|
|
'()))
|
2013-08-17 15:44:43 +02:00
|
|
|
|
|
|
|
|
|
;; XXX: Tests won't run in chroot, presumably because /etc/pam.d
|
|
|
|
|
;; isn't available.
|
|
|
|
|
#:tests? #f))
|
2012-11-27 21:56:37 +01:00
|
|
|
|
(home-page "http://www.linux-pam.org/")
|
|
|
|
|
(synopsis "Pluggable authentication modules for Linux")
|
|
|
|
|
(description
|
|
|
|
|
"A *Free* project to implement OSF's RFC 86.0.
|
|
|
|
|
Pluggable authentication modules are small shared object files that can
|
|
|
|
|
be used through the PAM API to perform tasks, like authenticating a user
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
|
at login. Local and dynamic reconfiguration are its key features.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:bsd-3)))
|
2012-12-04 00:17:49 +01:00
|
|
|
|
|
2016-08-29 14:56:38 +02:00
|
|
|
|
(define-public linux-pam-1.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit linux-pam)
|
|
|
|
|
(version "1.2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.linux-pam.org/library/"
|
|
|
|
|
"Linux-PAM-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-09-20 21:59:20 +02:00
|
|
|
|
"1n9lnf9gjs72kbj1g354v1xhi2j27aqaah15vykh7cnkq08i4arl"))
|
|
|
|
|
(patches (search-patches "linux-pam-no-setfsuid.patch"))))))
|
2016-08-29 14:56:38 +02:00
|
|
|
|
|
2020-08-09 14:45:33 +02:00
|
|
|
|
(define-public python-pamela
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pamela")
|
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; Tests not distributed in pypi release.
|
|
|
|
|
(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 19:18:54 +01:00
|
|
|
|
(url "https://github.com/minrk/pamela")
|
2020-08-09 14:45:33 +02:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cg3w6np1fbjpvzhv54xg567hpf38szwp2d4gvzb9r736nxbv0vr"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; Test suite isn't designed to be run inside a container.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'hardcode-pam.so
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((pam (assoc-ref inputs "linux-pam")))
|
|
|
|
|
(substitute* "pamela.py"
|
|
|
|
|
(("find_library\\(\"pam\")")
|
|
|
|
|
(string-append "'" pam "/lib/libpam.so'")))
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(if tests?
|
|
|
|
|
(if (file-exists? "test_pamela.py")
|
|
|
|
|
(invoke "py.test" "--assert=plain" "test_pamela.py")
|
|
|
|
|
(invoke "python" "-m" "pamela" "-a" "`whoami`"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("linux-pam" ,linux-pam)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pytest" ,python-pytest)))
|
|
|
|
|
(home-page "https://github.com/minrk/pamela")
|
|
|
|
|
(synopsis "PAM interface using ctypes")
|
|
|
|
|
(description "This package provides a PAM interface using @code{ctypes}.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2015-05-23 20:39:57 +02:00
|
|
|
|
|
2013-09-11 00:22:45 +02:00
|
|
|
|
;;;
|
|
|
|
|
;;; Miscellaneous.
|
|
|
|
|
;;;
|
|
|
|
|
|
2020-05-09 17:11:17 +02:00
|
|
|
|
(define-public powerstat
|
|
|
|
|
(package
|
|
|
|
|
(name "powerstat")
|
|
|
|
|
(version "0.02.22")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://kernel.ubuntu.com/~cking/tarballs/"
|
|
|
|
|
"powerstat/powerstat-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0r355b9syqa2nhfy8ksvxyy5d58v0isf983842js091s6liy0x7g"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
gnu: Use 'cc-for-target' instead of custom implementations.
* gnu/packages/compression.scm (ecm)[arguments]: In #:make-flags, remove
TARGET binding and use CC-FOR-TARGET instead.
* gnu/packages/linux.scm (powerstat, crda, cachefilesd)[arguments]: Likewise.
* gnu/packages/mail.scm (alpine)[arguments]: Likewise.
* gnu/packages/music.scm (lsp-plugins)[arguments]: Likewise.
* gnu/packages/radio.scm (dump1090)[arguments]: Likewise.
* gnu/packages/suckless.scm (blind, dmenu, spoon, slock, st, surf, sent,
wificurse, sbm, prout, noice, human, fortify-headers, colors, libutf,
scron)[arguments]: Likewise.
2020-05-28 18:57:46 +02:00
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
2020-05-09 17:11:17 +02:00
|
|
|
|
#:tests? #f ; no test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'respect-$prefix
|
|
|
|
|
;; https://bugs.launchpad.net/ubuntu/+source/powerstat/+bug/1877744
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("DIR=/usr/") "DIR=$(prefix)/"))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
|
|
|
|
(home-page "https://kernel.ubuntu.com/~cking/powerstat/")
|
|
|
|
|
(synopsis "Measure system power consumption")
|
|
|
|
|
(description
|
|
|
|
|
"Powerstat measures and reports your computer's power consumption in real
|
|
|
|
|
time. On mobile PCs, it uses ACPI battery information to measure the power
|
|
|
|
|
drain of the entire system.
|
|
|
|
|
|
|
|
|
|
Powerstat can also report @acronym{RAPL, Running Average Power Limit} power
|
|
|
|
|
domain measurements. These are available only on some hardware such as Intel
|
|
|
|
|
Sandybridge and newer, and cover only part of the machine's components such as
|
|
|
|
|
CPU, DRAM, and graphics. However, they provide accurate and immediate readings
|
|
|
|
|
and don't require a battery at all.
|
|
|
|
|
|
|
|
|
|
The output is like @command{vmstat} but also shows power consumption statistics:
|
|
|
|
|
at the end of a run, @command{powerstat} will calculate the average, standard
|
|
|
|
|
deviation, and minimum and maximum values. It can show a nice histogram too.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2012-12-04 00:17:49 +01:00
|
|
|
|
(define-public psmisc
|
|
|
|
|
(package
|
|
|
|
|
(name "psmisc")
|
2019-11-12 14:59:33 +01:00
|
|
|
|
(version "23.3")
|
2012-12-04 00:17:49 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-10-24 23:18:52 +02:00
|
|
|
|
(uri (string-append "mirror://sourceforge/psmisc/psmisc/psmisc-"
|
2018-07-12 17:12:01 +02:00
|
|
|
|
version ".tar.xz"))
|
2012-12-04 00:17:49 +01:00
|
|
|
|
(sha256
|
2019-11-12 14:59:33 +01:00
|
|
|
|
(base32 "16i7qzjmm6g0lzha8yzpfrlcxnvkgh95hkq9gdjd4zmzb8d0wxa1"))))
|
2012-12-04 00:17:49 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2019-12-16 16:41:01 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"ac_cv_func_malloc_0_nonnull=yes"
|
|
|
|
|
"ac_cv_func_realloc_0_nonnull=yes"))
|
|
|
|
|
'())))
|
2012-12-04 00:17:49 +01:00
|
|
|
|
(inputs `(("ncurses" ,ncurses)))
|
2017-05-12 00:50:38 +02:00
|
|
|
|
(home-page "https://gitlab.com/psmisc/psmisc")
|
2019-10-24 18:15:57 +02:00
|
|
|
|
(synopsis "Small utilities that use the proc file system")
|
2012-12-04 00:17:49 +01:00
|
|
|
|
(description
|
|
|
|
|
"This PSmisc package is a set of some small useful utilities that
|
2016-09-16 08:08:48 +02:00
|
|
|
|
use the proc file system. We're not about changing the world, but
|
2012-12-04 00:17:49 +01:00
|
|
|
|
providing the system administrator with some help in common tasks.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2012-12-04 00:13:02 +01:00
|
|
|
|
|
|
|
|
|
(define-public util-linux
|
|
|
|
|
(package
|
|
|
|
|
(name "util-linux")
|
2020-01-31 14:12:47 +01:00
|
|
|
|
(version "2.35.1")
|
2014-06-01 22:53:16 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org/linux/utils/"
|
2019-10-24 18:56:44 +02:00
|
|
|
|
"util-linux/v" (version-major+minor version) "/"
|
|
|
|
|
"util-linux-" version ".tar.xz"))
|
2014-06-01 22:53:16 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-31 14:12:47 +01:00
|
|
|
|
"1yfpy6bkab4jw61mpx48gfy24yrqp4a7arvpis8csrkk53fkxpnr"))
|
2018-03-29 02:43:06 +02:00
|
|
|
|
(patches (search-patches "util-linux-tests.patch"))
|
2014-09-12 22:05:50 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2018-03-01 22:33:20 +01:00
|
|
|
|
;; We take 'nologin' from Shadow, the 'logger' program from
|
|
|
|
|
;; GNU Inetutils and 'kill' from GNU Coreutils.
|
2015-09-15 06:02:51 +02:00
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "configure"
|
2018-03-01 22:33:20 +01:00
|
|
|
|
(("build_nologin=yes") "build_nologin=no")
|
2015-09-15 06:02:51 +02:00
|
|
|
|
(("build_logger=yes") "build_logger=no")
|
|
|
|
|
(("build_kill=yes") "build_kill=no"))
|
|
|
|
|
#t))))
|
2012-12-04 00:13:02 +01:00
|
|
|
|
(build-system gnu-build-system)
|
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-15 00:24:28 +01:00
|
|
|
|
(outputs '("out" ;6.4 MiB executables and documentation
|
|
|
|
|
"lib" ;8.8 MiB shared libraries, headers and locales
|
|
|
|
|
"static")) ;2.9 MiB static .a libraries
|
2012-12-04 00:13:02 +01:00
|
|
|
|
(arguments
|
2015-04-05 23:18:19 +02:00
|
|
|
|
`(#:configure-flags (list "--disable-use-tty-group"
|
2016-11-16 20:08:46 +01:00
|
|
|
|
"--enable-fs-paths-default=/run/current-system/profile/sbin"
|
2017-11-02 21:35:15 +01:00
|
|
|
|
;; Don't try to chown root:root mount and umount
|
|
|
|
|
"--disable-makeinstall-chown"
|
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-15 00:24:28 +01:00
|
|
|
|
"--localstatedir=/var"
|
|
|
|
|
(string-append "--localedir="
|
|
|
|
|
(assoc-ref %outputs "lib")
|
|
|
|
|
"/share/locale")
|
2015-04-05 23:18:19 +02:00
|
|
|
|
;; Install completions where our
|
|
|
|
|
;; bash-completion package expects them.
|
|
|
|
|
(string-append "--with-bashcompletiondir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/etc/bash_completion.d"))
|
2015-07-14 12:39:58 +02:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
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-15 00:24:28 +01:00
|
|
|
|
(add-before 'configure 'patch-build-scripts
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
;; The build system assumes that we want to install
|
|
|
|
|
;; libraries below $exec_prefix when $libdir does not
|
|
|
|
|
;; match any of the "usual" locations. Fix that.
|
|
|
|
|
(("usrlib_execdir='\\$\\{exec_prefix\\}'\\$libdir")
|
|
|
|
|
"usrlib_execdir=$libdir"))
|
|
|
|
|
#t))
|
2019-10-13 17:23:28 +02:00
|
|
|
|
(add-before 'build 'set-umount-file-name
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Tell 'eject' the right file name of 'umount'.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "sys-utils/eject.c"
|
|
|
|
|
(("\"/bin/umount\"")
|
|
|
|
|
(string-append "\"" out "/bin/umount\"")))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(net (assoc-ref inputs "net-base")))
|
|
|
|
|
;; Change the test to refer to the right file.
|
|
|
|
|
(substitute* "tests/ts/misc/mcookie"
|
|
|
|
|
(("/etc/services")
|
|
|
|
|
(string-append net "/etc/services")))
|
2020-01-24 17:16:53 +01:00
|
|
|
|
|
|
|
|
|
;; The C.UTF-8 locale does not exist in our libc.
|
|
|
|
|
(substitute* "tests/ts/column/invalid-multibyte"
|
|
|
|
|
(("C\\.UTF-8") "en_US.utf8"))
|
2019-10-13 17:23:28 +02:00
|
|
|
|
#t)))
|
2020-03-31 18:16:05 +02:00
|
|
|
|
;; TODO: Remove the conditional on the next rebuild cycle.
|
|
|
|
|
,@(if (string-prefix? "arm" (%current-system))
|
|
|
|
|
'((add-before 'check 'disable-setarch-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The setarch tests are unreliable in QEMU's
|
|
|
|
|
;; user-mode emulation, which is our primary
|
|
|
|
|
;; method of building ARMv7 packages.
|
|
|
|
|
;; <https://github.com/karelzak/util-linux/issues/601>
|
|
|
|
|
(substitute* "tests/ts/misc/setarch"
|
|
|
|
|
(("ts_init_subtest.*" all)
|
|
|
|
|
(string-append
|
|
|
|
|
all "\n"
|
|
|
|
|
"ts_skip \"setarch tests are unreliable under QEMU\"")))
|
|
|
|
|
#t)))
|
|
|
|
|
'())
|
2019-10-13 17:23:28 +02:00
|
|
|
|
(add-after 'install 'move-static-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
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-15 00:24:28 +01:00
|
|
|
|
(let ((lib (assoc-ref outputs "lib"))
|
2019-10-13 17:23:28 +02:00
|
|
|
|
(static (assoc-ref outputs "static")))
|
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-15 00:24:28 +01:00
|
|
|
|
|
|
|
|
|
;; Move static libraries to the "static" output.
|
2019-10-13 17:23:28 +02:00
|
|
|
|
(mkdir-p (string-append static "/lib"))
|
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-15 00:24:28 +01:00
|
|
|
|
(with-directory-excursion lib
|
2019-10-13 17:23:28 +02:00
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(rename-file file
|
|
|
|
|
(string-append static "/"
|
|
|
|
|
file)))
|
|
|
|
|
(find-files "lib" "\\.a$"))
|
|
|
|
|
|
|
|
|
|
;; Remove references to the static library from the '.la'
|
|
|
|
|
;; files so that Libtool does the right thing when both
|
|
|
|
|
;; the shared and static library is available.
|
|
|
|
|
(substitute* (find-files "lib" "\\.la$")
|
|
|
|
|
(("old_library=.*") "old_library=''\n")))
|
|
|
|
|
|
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-15 00:24:28 +01:00
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'adjust-pkg-config-files
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((lib (assoc-ref outputs "lib")))
|
|
|
|
|
;; Drop the unused "prefix=" and "exec_prefix=" variables from
|
|
|
|
|
;; the pkg-config files to avoid a cyclic reference on "out".
|
|
|
|
|
(substitute* (find-files (string-append lib "/lib/pkgconfig")
|
|
|
|
|
"\\.pc$")
|
|
|
|
|
(("^(exec_)?prefix=.*") "")))
|
|
|
|
|
#t)))))
|
2015-03-04 17:02:07 +01:00
|
|
|
|
(inputs `(("zlib" ,zlib)
|
2017-07-04 22:49:15 +02:00
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
|
|
|
|
|
;; XXX: This is so that the 'pre-check' phase can find it.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
`(("net-base" ,net-base))
|
|
|
|
|
'())))
|
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 12:01:56 +01:00
|
|
|
|
(native-inputs
|
2015-01-23 14:19:02 +01:00
|
|
|
|
`(("perl" ,perl)
|
2019-10-13 17:23:28 +02:00
|
|
|
|
("net-base" ,net-base))) ;for tests
|
2012-12-04 00:13:02 +01:00
|
|
|
|
(home-page "https://www.kernel.org/pub/linux/utils/util-linux/")
|
2013-05-18 23:02:25 +02:00
|
|
|
|
(synopsis "Collection of utilities for the Linux kernel")
|
2015-12-07 21:03:07 +01:00
|
|
|
|
(description "Util-linux is a diverse collection of Linux kernel
|
2016-09-16 08:08:48 +02:00
|
|
|
|
utilities. It provides dmesg and includes tools for working with file systems,
|
2015-12-07 21:03:07 +01:00
|
|
|
|
block devices, UUIDs, TTYs, and many other tools.")
|
2013-01-12 16:51:45 +01:00
|
|
|
|
|
2012-12-04 00:13:02 +01:00
|
|
|
|
;; Note that util-linux doesn't use the same license for all the
|
2013-01-12 16:51:45 +01:00
|
|
|
|
;; code. GPLv2+ is the default license for a code without an
|
2012-12-04 00:13:02 +01:00
|
|
|
|
;; explicitly defined license.
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license (list license:gpl3+ license:gpl2+ license:gpl2 license:lgpl2.0+
|
|
|
|
|
license:bsd-4 license:public-domain))))
|
2012-12-17 21:29:06 +01:00
|
|
|
|
|
2020-01-08 19:56:54 +01:00
|
|
|
|
;; util-linux optionally supports udev, which allows lsblk to read file system
|
|
|
|
|
;; metadata without special privileges. Add it as a separate package to avoid
|
|
|
|
|
;; a circular dependency, and to keep the size small.
|
|
|
|
|
(define-public util-linux+udev
|
|
|
|
|
(package/inherit
|
|
|
|
|
util-linux
|
2020-01-09 00:13:50 +01:00
|
|
|
|
(name "util-linux-with-udev")
|
2020-01-08 19:56:54 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("udev" ,eudev)
|
2020-01-09 00:13:50 +01:00
|
|
|
|
,@(package-inputs util-linux)))))
|
2020-01-08 19:56:54 +01:00
|
|
|
|
|
2017-06-10 19:12:10 +02:00
|
|
|
|
(define-public ddate
|
|
|
|
|
(package
|
|
|
|
|
(name "ddate")
|
|
|
|
|
(version "0.2.2")
|
|
|
|
|
(source (origin
|
2020-06-24 09:23:51 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/bo0ts/ddate")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-06-10 19:12:10 +02:00
|
|
|
|
(sha256
|
2020-06-24 09:23:51 +02:00
|
|
|
|
(base32 "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f"))))
|
2017-06-10 19:12:10 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments '(#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/bo0ts/ddate")
|
|
|
|
|
(synopsis "PERPETUAL DATE CONVERTER FROM GREGORIAN TO POEE CALENDAR")
|
|
|
|
|
(description
|
|
|
|
|
"ddate displays the Discordian date and holidays of a given date.
|
|
|
|
|
The Discordian calendar was made popular by the \"Illuminatus!\" trilogy
|
|
|
|
|
by Robert Shea and Robert Anton Wilson.")
|
|
|
|
|
(license license:public-domain)))
|
|
|
|
|
|
2018-03-16 18:01:19 +01:00
|
|
|
|
(define-public fbset
|
|
|
|
|
(package
|
|
|
|
|
(name "fbset")
|
|
|
|
|
(version "2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://users.telenet.be/geertu/Linux/fbdev/fbset-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "080wnisi0jq7dp0jcwdp83rq8q8s3kw41vc712516xbv4jq4mzs0"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'install 'pre-install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("mknod ") "true ")
|
|
|
|
|
;; The Makefile doesn't honour PREFIX or similar.
|
|
|
|
|
(("/usr") out))
|
|
|
|
|
(mkdir out)
|
|
|
|
|
(with-directory-excursion out
|
|
|
|
|
(for-each mkdir-p (list "sbin"
|
|
|
|
|
"man/man5"
|
|
|
|
|
"man/man8")))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'install-fb.modes
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(etc (string-append out "/etc")))
|
|
|
|
|
(for-each (cut install-file <> etc)
|
|
|
|
|
(find-files "etc" "^fb\\.modes"))
|
|
|
|
|
(symlink "fb.modes.ATI"
|
|
|
|
|
(string-append etc "/fb.modes"))
|
|
|
|
|
#t))))
|
|
|
|
|
;; Parallel building races to create modes.tab.c.
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
#:tests? #f)) ; no test suite
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
|
|
|
|
(home-page "http://users.telenet.be/geertu/Linux/fbdev/")
|
|
|
|
|
(synopsis "Show and modify Linux frame buffer settings")
|
|
|
|
|
(description
|
|
|
|
|
"The kernel Linux's @dfn{frame buffers} provide a simple interface to
|
|
|
|
|
different kinds of graphic displays. The @command{fbset} utility can query and
|
|
|
|
|
change various device settings such as depth, virtual resolution, and timing
|
|
|
|
|
parameters.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2013-01-12 16:51:16 +01:00
|
|
|
|
(define-public procps
|
|
|
|
|
(package
|
|
|
|
|
(name "procps")
|
2020-01-14 18:39:46 +01:00
|
|
|
|
(version "3.3.16")
|
2013-01-12 16:51:16 +01:00
|
|
|
|
(source (origin
|
2015-09-16 15:17:43 +02:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/procps-ng/Production/"
|
|
|
|
|
"procps-ng-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-14 18:39:46 +01:00
|
|
|
|
"1br0g93ysqhlv13i1k4lfbimsgxnpy5rgs4lxfc9rkzdbpbaqplj"))))
|
2013-01-12 16:51:16 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-08-02 11:32:06 +02:00
|
|
|
|
`(#:modules ((guix build utils)
|
2015-02-13 20:27:38 +01:00
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(srfi srfi-26))
|
2019-08-02 11:32:06 +02:00
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"ac_cv_func_malloc_0_nonnull=yes"
|
|
|
|
|
"ac_cv_func_realloc_0_nonnull=yes"))
|
|
|
|
|
'())
|
2015-09-16 15:17:43 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'install 'post-install
|
|
|
|
|
;; Remove commands and man pages redudant with
|
|
|
|
|
;; Coreutils.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(dup (append-map (cut find-files out <>)
|
|
|
|
|
'("^kill" "^uptime"))))
|
|
|
|
|
(for-each delete-file dup)
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)))
|
|
|
|
|
(home-page "https://gitlab.com/procps-ng/procps/")
|
2013-05-18 23:02:25 +02:00
|
|
|
|
(synopsis "Utilities that give information about processes")
|
2013-01-12 16:51:16 +01:00
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
"Procps is the package that has a bunch of small useful utilities
|
2013-01-12 16:51:16 +01:00
|
|
|
|
that give information about processes using the Linux /proc file system.
|
|
|
|
|
The package includes the programs ps, top, vmstat, w, kill, free,
|
|
|
|
|
slabtop, and skill.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2)))
|
2013-01-12 16:51:16 +01:00
|
|
|
|
|
2012-12-17 21:29:06 +01:00
|
|
|
|
(define-public usbutils
|
|
|
|
|
(package
|
|
|
|
|
(name "usbutils")
|
2020-11-01 17:22:55 +01:00
|
|
|
|
(version "013")
|
2012-12-17 21:29:06 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/"
|
|
|
|
|
"usbutils-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2020-11-01 17:22:55 +01:00
|
|
|
|
(base32 "0f0klk6d3hmbpf6p4dcwa1qjzblmkhbxs1wsw87aidvqri7lj8wy"))))
|
2012-12-17 21:29:06 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2019-05-09 01:08:08 +02:00
|
|
|
|
(outputs (list "out" "python"))
|
2019-05-09 00:36:31 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'bootstrap 'patch-bootstrap-scripts
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "usbhid-dump/bootstrap"
|
2020-11-01 17:22:55 +01:00
|
|
|
|
(("/bin/sh") (which "sh")))
|
2019-05-09 00:36:31 +02:00
|
|
|
|
|
|
|
|
|
;; Don't let autogen.sh run configure with bogus options & CFLAGS.
|
|
|
|
|
(substitute* "autogen.sh"
|
|
|
|
|
(("^\\./configure.*") ""))
|
2019-05-09 01:08:08 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'separate-python-output
|
|
|
|
|
;; Separating one Python script shaves more than 106 MiB from :out.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(out:python (assoc-ref outputs "python")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((old (string-append out "/" file))
|
|
|
|
|
(new (string-append out:python "/" file)))
|
|
|
|
|
(mkdir-p (dirname new))
|
|
|
|
|
(rename-file old new)))
|
|
|
|
|
(list "bin/lsusb.py"))
|
|
|
|
|
#t))))))
|
2012-12-17 21:29:06 +01:00
|
|
|
|
(inputs
|
2019-05-09 00:55:28 +02:00
|
|
|
|
`(("eudev" ,eudev)
|
|
|
|
|
("libusb" ,libusb)
|
|
|
|
|
("python" ,python)))
|
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 12:01:56 +01:00
|
|
|
|
(native-inputs
|
2019-05-09 00:36:31 +02:00
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2012-12-17 21:29:06 +01:00
|
|
|
|
(home-page "http://www.linux-usb.org/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Tools for working with USB devices, such as lsusb")
|
|
|
|
|
(description
|
|
|
|
|
"Tools for working with USB devices, such as lsusb.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2013-02-10 23:48:41 +01:00
|
|
|
|
|
|
|
|
|
(define-public e2fsprogs
|
|
|
|
|
(package
|
|
|
|
|
(name "e2fsprogs")
|
2020-04-13 05:48:18 +02:00
|
|
|
|
(version "1.45.6")
|
2013-02-10 23:48:41 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-07-24 23:11:32 +02:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://kernel.org/linux/kernel/people/tytso/"
|
2020-04-13 05:48:18 +02:00
|
|
|
|
"e2fsprogs/v" version "/"
|
|
|
|
|
"e2fsprogs-" version ".tar.xz"))
|
2013-02-10 23:48:41 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-13 05:48:18 +02:00
|
|
|
|
"0mj2yizwygs7xww8jfy5mxjn8ww4pvc0b1hg1p2vsnirailsx9zz"))))
|
2013-02-10 23:48:41 +01:00
|
|
|
|
(build-system gnu-build-system)
|
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-15 00:24:28 +01:00
|
|
|
|
(inputs `(("util-linux" ,util-linux "lib")))
|
2014-05-06 14:26:49 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
2017-05-10 16:17:21 +02:00
|
|
|
|
("texinfo" ,texinfo) ;for the libext2fs Info manual
|
|
|
|
|
|
|
|
|
|
;; For tests.
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("procps" ,procps)))
|
2013-02-10 23:48:41 +01:00
|
|
|
|
(arguments
|
2017-05-10 15:48:38 +02:00
|
|
|
|
'(;; util-linux is the preferred source for some of the libraries and
|
2015-01-23 14:23:54 +01:00
|
|
|
|
;; commands, so disable them (see, e.g.,
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 15:50:36 +01:00
|
|
|
|
;; <http://git.buildroot.net/buildroot/commit/?id=e1ffc2f791b33633>.)
|
2017-05-10 15:48:38 +02:00
|
|
|
|
#:configure-flags (list "--disable-libblkid"
|
|
|
|
|
"--disable-libuuid" "--disable-uuidd"
|
|
|
|
|
"--disable-fsck"
|
2015-01-13 22:13:00 +01:00
|
|
|
|
|
2017-05-10 15:48:38 +02:00
|
|
|
|
;; Use symlinks instead of hard links for
|
|
|
|
|
;; 'fsck.extN' etc. This makes the resulting nar
|
|
|
|
|
;; smaller and is preserved across copies.
|
|
|
|
|
"--enable-symlink-install"
|
2017-01-10 18:18:17 +01:00
|
|
|
|
|
2017-05-10 15:48:38 +02:00
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib")
|
2015-01-13 22:13:00 +01:00
|
|
|
|
|
2017-05-10 15:48:38 +02:00
|
|
|
|
;; Install libext2fs et al.
|
|
|
|
|
"--enable-elf-shlibs")
|
2014-09-12 17:25:39 +02:00
|
|
|
|
|
2017-05-10 15:47:29 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-shells
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("/bin/sh (.*)parse-types.sh" _ dir)
|
|
|
|
|
(string-append (which "sh") " " dir
|
|
|
|
|
"parse-types.sh")))
|
2017-05-10 15:48:38 +02:00
|
|
|
|
(substitute* "MCONFIG.in"
|
|
|
|
|
(("INSTALL_SYMLINK = /bin/sh")
|
|
|
|
|
"INSTALL_SYMLINK = sh"))
|
2017-05-10 15:47:29 +02:00
|
|
|
|
(substitute* (find-files "." "^Makefile.in$")
|
|
|
|
|
(("#!/bin/sh")
|
|
|
|
|
(string-append "#!" (which "sh"))))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-libs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
2018-03-16 07:07:29 +01:00
|
|
|
|
(invoke "make" "install-libs")
|
|
|
|
|
|
|
|
|
|
;; Make the .a writable so that 'strip' works.
|
|
|
|
|
;; Failing to do that, due to debug symbols, we
|
|
|
|
|
;; retain a reference to the final
|
|
|
|
|
;; linux-libre-headers, which refer to the
|
|
|
|
|
;; bootstrap binaries.
|
|
|
|
|
(let ((archives (find-files lib "\\.a$")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(chmod file #o666))
|
|
|
|
|
archives))
|
|
|
|
|
#t))))))
|
2013-02-10 23:48:41 +01:00
|
|
|
|
(home-page "http://e2fsprogs.sourceforge.net/")
|
2013-05-18 23:02:25 +02:00
|
|
|
|
(synopsis "Creating and checking ext2/ext3/ext4 file systems")
|
2013-02-10 23:48:41 +01:00
|
|
|
|
(description
|
|
|
|
|
"This package provides tools for manipulating ext2/ext3/ext4 file systems.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license (list license:gpl2 ;programs
|
|
|
|
|
license:lgpl2.0 ;libext2fs
|
|
|
|
|
license:x11)))) ;libuuid
|
2013-05-18 23:31:14 +02:00
|
|
|
|
|
2015-01-16 21:07:31 +01:00
|
|
|
|
(define e2fsprogs/static
|
|
|
|
|
(static-package
|
|
|
|
|
(package (inherit e2fsprogs)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Do not build shared libraries.
|
|
|
|
|
(substitute-keyword-arguments (package-arguments e2fsprogs)
|
|
|
|
|
((#:configure-flags _)
|
|
|
|
|
'(list "--disable-blkid"))
|
|
|
|
|
((#:make-flags _)
|
|
|
|
|
'(list)))))))
|
|
|
|
|
|
2014-05-03 16:37:04 +02:00
|
|
|
|
(define-public e2fsck/static
|
|
|
|
|
(package
|
|
|
|
|
(name "e2fsck-static")
|
2014-05-06 14:12:41 +02:00
|
|
|
|
(version (package-version e2fsprogs))
|
2014-05-03 16:37:04 +02:00
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(source #f)
|
2017-01-09 01:31:13 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("e2fsprogs" ,e2fsprogs/static)))
|
2014-05-03 16:37:04 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
|
2017-01-09 01:31:13 +01:00
|
|
|
|
(let ((e2fsck (string-append (assoc-ref %build-inputs "e2fsprogs")
|
|
|
|
|
"/sbin/e2fsck"))
|
2014-05-03 16:37:04 +02:00
|
|
|
|
(bin (string-append (assoc-ref %outputs "out") "/sbin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-directory-excursion bin
|
2017-01-09 01:31:13 +01:00
|
|
|
|
(copy-file e2fsck "e2fsck")
|
|
|
|
|
(remove-store-references "e2fsck")
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
(chmod "e2fsck" #o555))
|
|
|
|
|
#t))))
|
2014-05-06 14:12:41 +02:00
|
|
|
|
(home-page (package-home-page e2fsprogs))
|
2017-01-09 01:31:13 +01:00
|
|
|
|
(synopsis "Statically-linked e2fsck command from e2fsprogs")
|
|
|
|
|
(description "This package provides statically-linked e2fsck command taken
|
|
|
|
|
from the e2fsprogs package. It is meant to be used in initrds.")
|
2014-05-06 14:12:41 +02:00
|
|
|
|
(license (package-license e2fsprogs))))
|
2014-05-03 16:37:04 +02:00
|
|
|
|
|
2015-07-23 23:25:39 +02:00
|
|
|
|
(define-public extundelete
|
|
|
|
|
(package
|
|
|
|
|
(name "extundelete")
|
|
|
|
|
(version "0.2.4")
|
2018-08-16 21:31:59 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/extundelete/"
|
|
|
|
|
"extundelete/" version "/extundelete-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1x0r7ylxlp9lbj3d7sqf6j2a222dwy2nfpff05jd6mkh4ihxvyd1"))
|
|
|
|
|
(patches (search-patches "extundelete-e2fsprogs-1.44.patch"))))
|
2015-07-23 23:25:39 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("e2fsprogs" ,e2fsprogs)))
|
|
|
|
|
(home-page "http://extundelete.sourceforge.net/")
|
|
|
|
|
(synopsis "Recover deleted files from ext2/3/4 partitions")
|
|
|
|
|
(description
|
|
|
|
|
"Extundelete is a set of tools that can recover deleted files from an
|
|
|
|
|
ext3 or ext4 partition.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2)))
|
2015-07-23 23:25:39 +02:00
|
|
|
|
|
2015-01-13 22:14:43 +01:00
|
|
|
|
(define-public zerofree
|
|
|
|
|
(package
|
|
|
|
|
(name "zerofree")
|
2018-03-02 05:01:16 +01:00
|
|
|
|
(version "1.1.1")
|
2017-08-03 22:27:21 +02:00
|
|
|
|
(home-page "https://frippery.org/uml/")
|
2015-01-13 22:14:43 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append home-page name "-" version
|
|
|
|
|
".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-02 05:01:16 +01:00
|
|
|
|
"0rrqfa5z103ws89vi8kfvbks1cfs74ix6n1wb6vs582vnmhwhswm"))))
|
2015-01-13 22:14:43 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-08-03 22:14:54 +02:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(replace 'install
|
|
|
|
|
;; The Makefile lacks an ‘install’ target.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
2017-08-03 22:22:43 +02:00
|
|
|
|
(chmod "zerofree" #o555)
|
|
|
|
|
(install-file "zerofree" bin)
|
2017-08-03 22:14:54 +02:00
|
|
|
|
#t))))
|
|
|
|
|
#:tests? #f)) ; no tests
|
2015-01-13 22:14:43 +01:00
|
|
|
|
(inputs `(("libext2fs" ,e2fsprogs)))
|
|
|
|
|
(synopsis "Zero non-allocated regions in ext2/ext3/ext4 file systems")
|
|
|
|
|
(description
|
2017-08-03 22:26:36 +02:00
|
|
|
|
"Zerofree finds the unallocated blocks with non-zero value content in an
|
|
|
|
|
ext2, ext3, or ext4 file system and fills them with zeroes (or another value).
|
|
|
|
|
This is a simple way to make disk images more compressible.
|
|
|
|
|
Zerofree requires the file system to be unmounted or mounted read-only.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2)))
|
2015-01-13 22:14:43 +01:00
|
|
|
|
|
2013-05-18 23:31:14 +02:00
|
|
|
|
(define-public strace
|
|
|
|
|
(package
|
|
|
|
|
(name "strace")
|
2020-08-11 01:08:02 +02:00
|
|
|
|
(version "5.8")
|
2018-04-06 16:08:27 +02:00
|
|
|
|
(home-page "https://strace.io")
|
2013-05-18 23:31:14 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-04-06 16:08:27 +02:00
|
|
|
|
(uri (string-append home-page "/files/" version
|
|
|
|
|
"/strace-" version ".tar.xz"))
|
2013-05-18 23:31:14 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-11 01:08:02 +02:00
|
|
|
|
"1abs3svkg9985f4jrxx34sj1dcpsf95vv1a0g01c777zgygncjnz"))))
|
2013-05-18 23:31:14 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2017-02-22 10:09:03 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-/bin/sh
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "strace.c"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
2020-06-05 18:02:03 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; XXX These hang forever even if the test time-out is extended.
|
|
|
|
|
(substitute* "tests/Makefile.in"
|
|
|
|
|
(("^\tstrace-DD?D?\\.test \\\\.*") ""))
|
2019-10-10 17:05:11 +02:00
|
|
|
|
#t)))
|
2018-10-17 20:10:19 +02:00
|
|
|
|
;; Don't fail if the architecture doesn't support different personalities.
|
|
|
|
|
#:configure-flags '("--enable-mpers=check")
|
2018-08-18 13:14:06 +02:00
|
|
|
|
;; See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32459>.
|
|
|
|
|
#:parallel-tests? #f)) ; undeterministic failures
|
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 12:01:56 +01:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
2013-05-18 23:31:14 +02:00
|
|
|
|
(synopsis "System call tracer for Linux")
|
|
|
|
|
(description
|
|
|
|
|
"strace is a system call tracer, i.e. a debugging tool which prints out a
|
|
|
|
|
trace of all the system calls made by a another process/program.")
|
2018-12-27 15:38:33 +01:00
|
|
|
|
(license license:lgpl2.1+)))
|
2013-06-09 23:52:39 +02:00
|
|
|
|
|
2015-02-09 23:35:03 +01:00
|
|
|
|
(define-public ltrace
|
|
|
|
|
(package
|
|
|
|
|
(name "ltrace")
|
|
|
|
|
(version "0.7.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.ltrace.org/ltrace_" version
|
|
|
|
|
".orig.tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00wmbdghqbz6x95m1mcdd3wd46l6hgcr4wggdp049dbifh3qqvqf"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("libelf" ,libelf)))
|
|
|
|
|
(arguments
|
|
|
|
|
;; Compilation uses -Werror by default, but it fails.
|
|
|
|
|
'(#:configure-flags '("--disable-werror")))
|
2018-01-15 07:29:02 +01:00
|
|
|
|
(home-page "https://www.ltrace.org/")
|
2015-02-09 23:35:03 +01:00
|
|
|
|
(synopsis "Library call tracer for Linux")
|
|
|
|
|
(description
|
|
|
|
|
"ltrace intercepts and records dynamic library calls which are called by
|
|
|
|
|
an executed process and the signals received by that process. It can also
|
|
|
|
|
intercept and print the system calls executed by the program.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2015-02-09 23:35:03 +01:00
|
|
|
|
|
2013-06-09 23:52:39 +02:00
|
|
|
|
(define-public alsa-lib
|
|
|
|
|
(package
|
|
|
|
|
(name "alsa-lib")
|
2020-07-25 14:14:55 +02:00
|
|
|
|
(version "1.2.3.2")
|
2013-06-09 23:52:39 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"ftp://ftp.alsa-project.org/pub/lib/alsa-lib-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-25 14:14:55 +02:00
|
|
|
|
"05dyk856ppvqymazyk1cmpln53g88cq1wjpnsygqrvnamyvwa7z8"))))
|
2013-06-09 23:52:39 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2019-12-09 22:31:03 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib"))))
|
2017-02-23 10:56:15 +01:00
|
|
|
|
(home-page "https://www.alsa-project.org/")
|
2013-06-09 23:52:39 +02:00
|
|
|
|
(synopsis "The Advanced Linux Sound Architecture libraries")
|
|
|
|
|
(description
|
|
|
|
|
"The Advanced Linux Sound Architecture (ALSA) provides audio and
|
|
|
|
|
MIDI functionality to the Linux-based operating system.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:lgpl2.1+)))
|
2013-06-17 22:33:35 +02:00
|
|
|
|
|
2013-10-06 22:36:22 +02:00
|
|
|
|
(define-public alsa-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "alsa-utils")
|
2020-07-25 14:15:15 +02:00
|
|
|
|
(version "1.2.3")
|
2013-10-06 22:36:22 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-02-11 08:17:37 +01:00
|
|
|
|
(uri (string-append "ftp://ftp.alsa-project.org/pub/utils/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
2013-10-06 22:36:22 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-25 14:15:15 +02:00
|
|
|
|
"1ai1z4kf91b1m3qrpwqkc1af5vm2fkdkknqv95xdwf19q94aw6gz"))))
|
2013-10-06 22:36:22 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; XXX: Disable man page creation until we have DocBook.
|
|
|
|
|
'(#:configure-flags (list "--disable-xmlto"
|
2014-09-10 22:59:27 +02:00
|
|
|
|
|
|
|
|
|
;; The udev rule is responsible for restoring
|
|
|
|
|
;; the volume.
|
2013-10-06 22:36:22 +02:00
|
|
|
|
(string-append "--with-udev-rules-dir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/udev/rules.d"))
|
2016-08-31 07:37:16 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-02-10 18:31:07 +01:00
|
|
|
|
(add-before 'check 'disable-broken-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; XXX: The 1.1.8 release tarball is missing a header that's
|
|
|
|
|
;; required for this test to work. Fixed in 1.1.9.
|
|
|
|
|
(substitute* "axfer/test/Makefile"
|
|
|
|
|
((".*container-test.*") ""))
|
|
|
|
|
#t))
|
2016-08-31 07:37:16 +02:00
|
|
|
|
(add-before
|
|
|
|
|
'install 'pre-install
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Don't try to mkdir /var/lib/alsa.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\(MKDIR_P\\) .*ASOUND_STATE_DIR.*")
|
2016-12-23 03:38:28 +01:00
|
|
|
|
"true\n"))
|
|
|
|
|
#t)))))
|
2019-07-05 18:41:05 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)))
|
2013-10-06 22:36:22 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libsamplerate" ,libsamplerate)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
2019-07-05 18:41:05 +02:00
|
|
|
|
("xmlto" ,xmlto)))
|
2013-10-06 22:36:22 +02:00
|
|
|
|
(home-page "http://www.alsa-project.org/")
|
|
|
|
|
(synopsis "Utilities for the Advanced Linux Sound Architecture (ALSA)")
|
|
|
|
|
(description
|
|
|
|
|
"The Advanced Linux Sound Architecture (ALSA) provides audio and
|
|
|
|
|
MIDI functionality to the Linux-based operating system.")
|
|
|
|
|
|
|
|
|
|
;; This is mostly GPLv2+ but a few files such as 'alsactl.c' are
|
|
|
|
|
;; GPLv2-only.
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2)))
|
2013-10-06 22:36:22 +02:00
|
|
|
|
|
2016-12-20 15:53:31 +01:00
|
|
|
|
(define-public alsa-plugins
|
|
|
|
|
(package
|
|
|
|
|
(name "alsa-plugins")
|
2020-02-23 21:04:55 +01:00
|
|
|
|
(version "1.2.2")
|
2016-12-20 15:53:31 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "ftp://ftp.alsa-project.org/pub/plugins/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-02-23 21:04:55 +01:00
|
|
|
|
"0z9k3ssbfk2ky2w13avgyf202j1drsz9sv3834bp33cj1i2hc3qw"))))
|
2016-12-20 15:53:31 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; TODO: Split libavcodec and speex if possible. It looks like they can not
|
|
|
|
|
;; be split, there are references to both in files.
|
|
|
|
|
;; TODO: Remove OSS related plugins, they add support to run native
|
|
|
|
|
;; ALSA applications on OSS however we do not offer OSS and OSS is
|
|
|
|
|
;; obsolete.
|
2018-06-25 15:04:31 +02:00
|
|
|
|
(outputs '("out" "pulseaudio" "jack"))
|
2016-12-20 15:53:31 +01:00
|
|
|
|
(arguments
|
2018-12-04 16:42:26 +01:00
|
|
|
|
`(#:configure-flags '(;; Do not install a "local" configuration targeted
|
2019-03-13 16:44:02 +01:00
|
|
|
|
;; for /etc/alsa. On Guix System plugins are loaded from
|
2018-12-04 16:42:26 +01:00
|
|
|
|
;; the ALSA service, and other distributions likely
|
|
|
|
|
;; won't use these files.
|
|
|
|
|
"--with-alsalconfdir=/tmp/noop")
|
|
|
|
|
#:phases
|
2016-12-20 15:53:31 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'split
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; Distribute the binaries to the various outputs.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2018-06-25 15:04:31 +02:00
|
|
|
|
(jack (assoc-ref outputs "jack"))
|
|
|
|
|
(jacklib (string-append jack "/lib/alsa-lib"))
|
2016-12-20 15:53:31 +01:00
|
|
|
|
(pua (assoc-ref outputs "pulseaudio"))
|
2018-12-04 16:42:26 +01:00
|
|
|
|
(pualib (string-append pua "/lib/alsa-lib")))
|
2018-06-25 15:04:31 +02:00
|
|
|
|
;; For jack.
|
|
|
|
|
(mkdir-p jacklib)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(rename-file file (string-append jacklib "/" (basename file))))
|
|
|
|
|
(find-files out ".*jack\\.(la|so)"))
|
2018-12-04 16:42:26 +01:00
|
|
|
|
;; For pulseaudio.
|
2016-12-20 15:53:31 +01:00
|
|
|
|
(mkdir-p pualib)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(rename-file file (string-append pualib "/" (basename file))))
|
|
|
|
|
(find-files out ".*pulse\\.(la|so)"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
2018-06-25 15:04:31 +02:00
|
|
|
|
("jack" ,jack-1)
|
2016-12-20 15:53:31 +01:00
|
|
|
|
("speex" ,speex) ; libspeexdsp resampling plugin
|
|
|
|
|
("libsamplerate" ,libsamplerate) ; libsamplerate resampling plugin
|
|
|
|
|
("ffmpeg" ,ffmpeg) ; libavcodec resampling plugin, a52 plugin
|
|
|
|
|
("pulseaudio" ,pulseaudio))) ; PulseAudio plugin
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://www.alsa-project.org/")
|
|
|
|
|
(synopsis "Plugins for the Advanced Linux Sound Architecture (ALSA)")
|
|
|
|
|
(description
|
|
|
|
|
"The Advanced Linux Sound Architecture (ALSA) provides audio and
|
|
|
|
|
MIDI functionality to the Linux-based operating system. This package enhances ALSA
|
|
|
|
|
by providing additional plugins which include: upmixing, downmixing, jackd and
|
|
|
|
|
pulseaudio support for native alsa applications, format conversion (s16 to a52), and
|
|
|
|
|
external rate conversion.")
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
;; `rate/rate_samplerate.c': LGPL v2.1 or later.
|
|
|
|
|
license:lgpl2.1+))))
|
|
|
|
|
|
2013-06-17 22:33:35 +02:00
|
|
|
|
(define-public iptables
|
|
|
|
|
(package
|
|
|
|
|
(name "iptables")
|
2020-11-01 17:00:51 +01:00
|
|
|
|
(version "1.8.6")
|
2020-06-10 02:37:13 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "mirror://netfilter.org/iptables/iptables-"
|
|
|
|
|
version ".tar.bz2")
|
|
|
|
|
(string-append "https://www.netfilter.org/projects/iptables/"
|
|
|
|
|
"files/iptables-" version ".tar.bz2")))
|
|
|
|
|
(sha256
|
2020-11-01 17:00:51 +01:00
|
|
|
|
(base32 "0rvp0k8a72h2snrdx48cfn75bfa0ycrd2xl3kjysbymq7q6gxx50"))))
|
2013-06-17 22:33:35 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2017-04-15 23:57:15 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("bison" ,bison)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmnl" ,libmnl)
|
|
|
|
|
("libnftnl" ,libnftnl)))
|
2015-04-11 12:23:27 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no test suite
|
|
|
|
|
#:configure-flags ; add $libdir to the RUNPATH of executables
|
2020-11-01 17:00:51 +01:00
|
|
|
|
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))))
|
2017-04-15 23:57:15 +02:00
|
|
|
|
(home-page "https://www.netfilter.org/projects/iptables/index.html")
|
2018-02-21 05:00:09 +01:00
|
|
|
|
(synopsis "Programs to configure Linux IP packet filtering rules")
|
2013-06-17 22:33:35 +02:00
|
|
|
|
(description
|
2018-02-21 05:00:09 +01:00
|
|
|
|
"@command{iptables} is the user-space command line program used to
|
|
|
|
|
configure the Linux 2.4.x and later IPv4 packet filtering ruleset
|
|
|
|
|
(@dfn{firewall}), including @dfn{NAT} (Network Address Translation).
|
|
|
|
|
|
|
|
|
|
This package also includes @command{ip6tables}, which is used to configure the
|
|
|
|
|
IPv6 packet filter.
|
|
|
|
|
|
2018-04-02 17:22:01 +02:00
|
|
|
|
Both commands are targeted at system administrators.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2013-06-17 23:53:42 +02:00
|
|
|
|
|
2020-02-29 00:19:01 +01:00
|
|
|
|
(define-public lsscsi
|
|
|
|
|
(package
|
|
|
|
|
(name "lsscsi")
|
|
|
|
|
(version "0.31")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://sg.danny.cz/scsi/lsscsi-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ry2y34xmpgxdbfbyvs8cjmbx0fn222yjdab87wj21q60nab5p75"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "Lists information about SCSI or NVMe devices in Linux")
|
|
|
|
|
(home-page "http://sg.danny.cz/scsi/lsscsi.html")
|
|
|
|
|
(description
|
|
|
|
|
"@command{lsscsi} lists SCSI logical units or SCSI targets. It can
|
|
|
|
|
also list NVMe namespaces or controllers and show the relationship between a
|
|
|
|
|
device's primary node name, its SCSI generic (sg) node name and its kernel
|
|
|
|
|
name.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2017-06-25 16:40:36 +02:00
|
|
|
|
(define-public ebtables
|
|
|
|
|
(package
|
|
|
|
|
(name "ebtables")
|
2020-02-17 15:48:37 +01:00
|
|
|
|
(version "2.0.11")
|
2017-06-25 16:40:36 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2020-02-17 15:48:37 +01:00
|
|
|
|
"mirror://netfilter.org/ebtables/ebtables-"
|
2017-06-25 16:40:36 +02:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-02-17 15:48:37 +01:00
|
|
|
|
"0apxgmkhsk3vxn9q3libxn3dgrdljrxyy4mli2gk49m7hi3na7xp"))))
|
2017-06-25 16:40:36 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("iptables" ,iptables)))
|
|
|
|
|
(synopsis "Ethernet bridge frame table administration")
|
2020-01-18 19:30:43 +01:00
|
|
|
|
(home-page "https://ebtables.netfilter.org/")
|
2017-06-25 16:40:36 +02:00
|
|
|
|
(description
|
|
|
|
|
"ebtables is an application program used to set up and maintain the
|
|
|
|
|
tables of rules (inside the Linux kernel) that inspect Ethernet frames. It is
|
|
|
|
|
analogous to the iptables application, but less complicated, due to the fact
|
|
|
|
|
that the Ethernet protocol is much simpler than the IP protocol.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2013-06-17 23:53:42 +02:00
|
|
|
|
(define-public iproute
|
|
|
|
|
(package
|
|
|
|
|
(name "iproute2")
|
2020-10-16 17:27:01 +02:00
|
|
|
|
(version "5.9.0")
|
2013-06-17 23:53:42 +02:00
|
|
|
|
(source (origin
|
2016-02-11 11:49:38 +01:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://kernel.org/linux/utils/net/iproute2/iproute2-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-16 17:27:01 +02:00
|
|
|
|
"1kys6dmhrl43iaq95n5sh02p39d7bq8i5y672qrzgwnwpjaaqpd2"))))
|
2013-06-17 23:53:42 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-03-20 16:15:12 +01:00
|
|
|
|
`( ;; There is a test suite, but it wants network namespaces and sudo.
|
|
|
|
|
#:tests? #f
|
2013-06-17 23:53:42 +02:00
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list "DESTDIR="
|
2020-12-15 11:28:36 +01:00
|
|
|
|
(string-append "CC=" ,(cc-for-target))
|
|
|
|
|
"HOSTCC=gcc"
|
2016-11-02 02:30:56 +01:00
|
|
|
|
(string-append "BASH_COMPDIR=" out
|
|
|
|
|
"/etc/bash_completion.d")
|
2013-06-17 23:53:42 +02:00
|
|
|
|
(string-append "LIBDIR=" out "/lib")
|
2017-02-26 23:24:38 +01:00
|
|
|
|
(string-append "HDRDIR=" out "/include")
|
2013-06-17 23:53:42 +02:00
|
|
|
|
(string-append "SBINDIR=" out "/sbin")
|
|
|
|
|
(string-append "CONFDIR=" out "/etc")
|
|
|
|
|
(string-append "DOCDIR=" out "/share/doc/"
|
|
|
|
|
,name "-" ,version)
|
|
|
|
|
(string-append "MANDIR=" out "/share/man")))
|
2016-02-11 11:49:16 +01:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'install 'pre-install
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Don't attempt to create /var/lib/arpd.
|
|
|
|
|
(substitute* "Makefile"
|
2018-06-28 02:46:38 +02:00
|
|
|
|
(("^.*ARPDDIR.*$") ""))
|
2020-12-15 11:28:36 +01:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'patch-configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((target ,(%current-target-system)))
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("pkg-config")
|
|
|
|
|
(if target
|
|
|
|
|
(string-append target "-pkg-config")
|
|
|
|
|
"pkg-config")))
|
|
|
|
|
#t))))))
|
2013-06-17 23:53:42 +02:00
|
|
|
|
(inputs
|
2019-03-20 16:15:12 +01:00
|
|
|
|
`(("db4" ,bdb)
|
2019-09-25 16:53:05 +02:00
|
|
|
|
("iptables" ,iptables)
|
|
|
|
|
("libmnl" ,libmnl)))
|
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 12:01:56 +01:00
|
|
|
|
(native-inputs
|
2019-03-20 16:15:12 +01:00
|
|
|
|
`(("bison" ,bison)
|
2013-06-17 23:53:42 +02:00
|
|
|
|
("flex" ,flex)
|
2019-03-20 16:15:12 +01:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
;; For tests.
|
|
|
|
|
;; ("libmnl" ,libmnl)
|
|
|
|
|
;; ("util-linux" ,util-linux)
|
2013-06-17 23:53:42 +02:00
|
|
|
|
(home-page
|
2016-12-13 16:06:16 +01:00
|
|
|
|
"https://wiki.linuxfoundation.org/networking/iproute2")
|
2013-06-17 23:53:42 +02:00
|
|
|
|
(synopsis
|
2014-09-13 15:50:30 +02:00
|
|
|
|
"Utilities for controlling TCP/IP networking and traffic in Linux")
|
2013-06-17 23:53:42 +02:00
|
|
|
|
(description
|
2017-09-06 15:26:54 +02:00
|
|
|
|
"Iproute2 is a collection of utilities for controlling TCP/IP networking
|
|
|
|
|
and traffic with the Linux kernel. The most important of these are
|
|
|
|
|
@command{ip}, which configures IPv4 and IPv6, and @command{tc} for traffic
|
|
|
|
|
control.
|
2013-06-17 23:53:42 +02:00
|
|
|
|
|
|
|
|
|
Most network configuration manuals still refer to ifconfig and route as the
|
|
|
|
|
primary network configuration tools, but ifconfig is known to behave
|
2017-09-06 15:26:54 +02:00
|
|
|
|
inadequately in modern network environments, and both should be deprecated.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2013-09-26 20:54:32 +02:00
|
|
|
|
|
|
|
|
|
(define-public net-tools
|
|
|
|
|
;; XXX: This package is basically unmaintained, but it provides a few
|
|
|
|
|
;; commands not yet provided by Inetutils, such as 'route', so we have to
|
|
|
|
|
;; live with it.
|
2017-07-26 02:33:27 +02:00
|
|
|
|
(let ((commit "479bb4a7e11a4084e2935c0a576388f92469225b")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "net-tools")
|
|
|
|
|
(version (string-append "1.60-" revision "." (string-take commit 7)))
|
|
|
|
|
(source (origin
|
2017-08-27 04:54:55 +02:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://sourceforge.net/code-snapshots/git/"
|
|
|
|
|
"n/ne/net-tools/code.git/net-tools-code-"
|
|
|
|
|
commit ".zip"))
|
|
|
|
|
(file-name (string-append name "-" version ".zip"))
|
2017-07-26 02:33:27 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-08-27 04:54:55 +02:00
|
|
|
|
"0hz9fda9d78spp774b6rr5xaxav7cm4h0qcpxf70rvdbrf6qx7vy"))))
|
2017-07-26 02:33:27 +02:00
|
|
|
|
(home-page "http://net-tools.sourceforge.net/")
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-06-02 21:31:11 +02:00
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
2017-07-26 02:33:27 +02:00
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
(mkdir-p (string-append out "/sbin"))
|
|
|
|
|
|
|
|
|
|
;; Pretend we have everything...
|
|
|
|
|
(system "yes | make config")
|
|
|
|
|
|
|
|
|
|
;; ... except for the things we don't have.
|
|
|
|
|
;; HAVE_AFDECnet requires libdnet, which we don't have.
|
|
|
|
|
;; HAVE_HWSTRIP and HAVE_HWTR require kernel headers
|
|
|
|
|
;; that have been removed.
|
|
|
|
|
;; XXX SELINUX and AFBLUETOOTH are removed for now, but we should
|
|
|
|
|
;; think about adding them later.
|
|
|
|
|
(substitute* '("config.make" "config.h")
|
|
|
|
|
(("^.*HAVE_(AFDECnet|HWSTRIP|HWTR|SELINUX|AFBLUETOOTH)[ =]1.*$")
|
2018-03-17 16:11:50 +01:00
|
|
|
|
""))
|
|
|
|
|
#t)))
|
2017-07-26 02:33:27 +02:00
|
|
|
|
(add-after 'install 'remove-redundant-commands
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Remove commands and man pages redundant with Inetutils.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(dup (append-map (cut find-files out <>)
|
|
|
|
|
'("^hostname"
|
|
|
|
|
"^(yp|nis|dns)?domainname"))))
|
|
|
|
|
(for-each delete-file dup)
|
|
|
|
|
#t))))
|
|
|
|
|
;; Binaries that depend on libnet-tools.a don't declare that
|
|
|
|
|
;; dependency, making it parallel-unsafe.
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
|
|
|
|
|
#:tests? #f ; no test suite
|
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
2020-06-02 21:31:11 +02:00
|
|
|
|
(list ,(string-append "CC=" (cc-for-target))
|
2017-07-26 02:33:27 +02:00
|
|
|
|
(string-append "BASEDIR=" out)
|
|
|
|
|
(string-append "INSTALLNLSDIR=" out "/share/locale")
|
|
|
|
|
(string-append "mandir=/share/man")))))
|
2017-08-27 04:54:55 +02:00
|
|
|
|
(native-inputs `(("gettext" ,gettext-minimal)
|
|
|
|
|
("unzip" ,unzip)))
|
2020-03-07 17:12:15 +01:00
|
|
|
|
(supported-systems (delete "i586-gnu" %supported-systems))
|
2017-07-26 02:33:27 +02:00
|
|
|
|
(synopsis "Tools for controlling the network subsystem in Linux")
|
|
|
|
|
(description
|
|
|
|
|
"This package includes the important tools for controlling the network
|
|
|
|
|
subsystem of the Linux kernel. This includes arp, ifconfig, netstat, rarp and
|
|
|
|
|
route. Additionally, this package contains utilities relating to particular
|
|
|
|
|
network hardware types (plipconfig, slattach) and advanced aspects of IP
|
|
|
|
|
configuration (iptunnel, ipmaddr).")
|
|
|
|
|
(license license:gpl2+))))
|
|
|
|
|
|
2020-10-11 16:56:36 +02:00
|
|
|
|
(define-public libcap-2.31
|
2013-10-05 16:47:12 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "libcap")
|
2020-01-19 11:00:26 +01:00
|
|
|
|
(version "2.31")
|
2013-10-05 16:47:12 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2015-09-02 11:12:11 +02:00
|
|
|
|
"mirror://kernel.org/linux/libs/security/linux-privs/"
|
|
|
|
|
"libcap2/libcap-" version ".tar.xz"))
|
2013-10-05 16:47:12 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-19 11:00:26 +01:00
|
|
|
|
"0ikwm0kngrqa4ci80lqnrkk17kg09q7dxrz28y0gm5qw3vj8s266"))))
|
2013-10-05 16:47:12 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2015-04-11 07:59:54 +02:00
|
|
|
|
(arguments '(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
;; Add $libdir to the RUNPATH of executables.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Make.Rules"
|
|
|
|
|
(("LDFLAGS := #-g")
|
|
|
|
|
(string-append "LDFLAGS := -Wl,-rpath="
|
2018-03-16 11:27:10 +01:00
|
|
|
|
%output "/lib")))
|
|
|
|
|
#t)))
|
2020-01-20 18:06:58 +01:00
|
|
|
|
#:test-target "test"
|
2013-10-05 16:47:12 +02:00
|
|
|
|
#:make-flags (list "lib=lib"
|
|
|
|
|
(string-append "prefix="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
"RAISE_SETFCAP=no")))
|
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
2020-03-07 09:53:38 +01:00
|
|
|
|
(supported-systems (delete "i586-gnu" %supported-systems))
|
2013-10-05 16:47:12 +02:00
|
|
|
|
(home-page "https://sites.google.com/site/fullycapable/")
|
|
|
|
|
(synopsis "Library for working with POSIX capabilities")
|
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
"Libcap2 provides a programming interface to POSIX capabilities on
|
2013-10-05 16:47:12 +02:00
|
|
|
|
Linux-based operating systems.")
|
|
|
|
|
|
|
|
|
|
;; License is BSD-3 or GPLv2, at the user's choice.
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2)))
|
2013-10-31 23:29:25 +01:00
|
|
|
|
|
2020-10-11 16:56:36 +02:00
|
|
|
|
;; libcap 2.31 has problems with newer kernels, so provide this newer variant.
|
|
|
|
|
;; Keep the old libcap around to avoid rebuilding 'coreutils' and 'avahi'.
|
2020-05-05 16:27:55 +02:00
|
|
|
|
;; To be merged with libcap on the next rebuild cycle.
|
2020-10-11 16:56:36 +02:00
|
|
|
|
(define-public libcap
|
2020-05-05 16:27:55 +02:00
|
|
|
|
(package
|
2020-10-11 16:56:36 +02:00
|
|
|
|
(inherit libcap-2.31)
|
2020-10-11 17:08:45 +02:00
|
|
|
|
(version "2.44")
|
2020-05-05 16:27:55 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://kernel.org/linux/libs/security/linux-privs/"
|
|
|
|
|
"libcap2/libcap-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-11 17:08:45 +02:00
|
|
|
|
"1qf80lifygbnxwvqjf8jz5j24n6fqqx4ixnkbf76xs2vrmcq664j"))))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments libcap-2.31)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Add $libdir to the RUNPATH of executables.
|
|
|
|
|
(substitute* "Make.Rules"
|
|
|
|
|
(("LDFLAGS \\?= #-g")
|
|
|
|
|
(string-append "LDFLAGS ?= -Wl,-rpath="
|
|
|
|
|
%output "/lib")))
|
|
|
|
|
#t))))))))
|
2020-05-05 16:27:55 +02:00
|
|
|
|
|
2020-10-11 16:56:36 +02:00
|
|
|
|
(define-deprecated libcap/next libcap)
|
|
|
|
|
(export libcap/next)
|
|
|
|
|
|
2013-10-31 23:29:25 +01:00
|
|
|
|
(define-public bridge-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "bridge-utils")
|
2020-09-23 00:54:18 +02:00
|
|
|
|
(version "1.7")
|
2019-04-15 23:46:21 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-09-23 00:54:18 +02:00
|
|
|
|
(uri (string-append "mirror://kernel.org/linux/kernel/people/shemminger/"
|
|
|
|
|
"bridge-utils/bridge-utils-" version ".tar.xz"))
|
2019-04-15 23:46:21 +02:00
|
|
|
|
(sha256
|
2020-09-23 00:54:18 +02:00
|
|
|
|
(base32 "0zlrigizac2nfwgvksm92v4wafrpgxlbci3gwimc795ib7k8g6ck"))))
|
2013-10-31 23:29:25 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
|
|
|
|
|
;; The tarball lacks all the generated files.
|
|
|
|
|
(native-inputs `(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(arguments
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-03-11 21:46:30 +01:00
|
|
|
|
(add-before 'bootstrap 'patch-stuff
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
(lambda _
|
|
|
|
|
;; Fix "field ‘ip6’ has incomplete type" errors.
|
|
|
|
|
(substitute* "libbridge/libbridge.h"
|
|
|
|
|
(("#include <linux/if_bridge.h>")
|
|
|
|
|
"#include <linux/in6.h>\n#include <linux/if_bridge.h>"))
|
|
|
|
|
|
|
|
|
|
;; Ensure that the entire build fails if one of the
|
|
|
|
|
;; sub-Makefiles fails.
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("\\$\\(MAKE\\) \\$\\(MFLAGS\\) -C \\$\\$x ;")
|
|
|
|
|
"$(MAKE) $(MFLAGS) -C $$x || exit 1;"))
|
|
|
|
|
|
2018-03-11 21:46:30 +01:00
|
|
|
|
#t)))
|
2013-10-31 23:29:25 +01:00
|
|
|
|
#:tests? #f)) ; no 'check' target
|
|
|
|
|
|
2020-01-18 23:56:38 +01:00
|
|
|
|
(home-page "https://wiki.linuxfoundation.org/networking/bridge")
|
2013-10-31 23:29:25 +01:00
|
|
|
|
(synopsis "Manipulate Ethernet bridges")
|
|
|
|
|
(description
|
|
|
|
|
"Utilities for Linux's Ethernet bridging facilities. A bridge is a way
|
|
|
|
|
to connect two Ethernet segments together in a protocol independent way.
|
|
|
|
|
Packets are forwarded based on Ethernet address, rather than IP address (like
|
|
|
|
|
a router). Since forwarding is done at Layer 2, all protocols can go
|
|
|
|
|
transparently through a bridge.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2013-11-22 22:50:17 +01:00
|
|
|
|
|
|
|
|
|
(define-public libnl
|
|
|
|
|
(package
|
|
|
|
|
(name "libnl")
|
2019-09-04 20:49:43 +02:00
|
|
|
|
(version "3.5.0")
|
2013-11-22 22:50:17 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2017-06-07 00:20:21 +02:00
|
|
|
|
"https://github.com/thom311/libnl/releases/download/"
|
|
|
|
|
"libnl" (string-join (string-split version #\.) "_")
|
|
|
|
|
"/libnl-" version ".tar.gz"))
|
2013-11-22 22:50:17 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-04 20:49:43 +02:00
|
|
|
|
"1yh5bqmkivd78x378x34gzb28lvykn6b9k3hgvvpdnj5jpn3689m"))))
|
2013-11-22 22:50:17 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2017-08-02 13:09:02 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
2017-08-02 14:39:28 +02:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("swig" ,swig)
|
2017-08-02 13:09:02 +02:00
|
|
|
|
("libnl3-doc"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/thom311/libnl/releases/download/libnl"
|
|
|
|
|
(string-join (string-split version #\.) "_")
|
|
|
|
|
"/libnl-doc-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-09-04 20:49:43 +02:00
|
|
|
|
(base32 "19p5y8q3cm5wqvamqc4s5syxnnkvzxy3gw8ivxk6fv9ybn8jm35h"))))))
|
2019-09-30 15:03:18 +02:00
|
|
|
|
(outputs `("out" "doc"))
|
2017-08-02 13:09:02 +02:00
|
|
|
|
(arguments
|
2019-09-30 15:03:18 +02:00
|
|
|
|
`(#:phases
|
2017-08-02 13:09:02 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
2019-09-30 15:03:18 +02:00
|
|
|
|
(lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
|
2017-08-02 13:09:02 +02:00
|
|
|
|
(let ((dest (string-append (assoc-ref outputs "doc")
|
|
|
|
|
"/share/doc/libnl")))
|
|
|
|
|
(mkdir-p dest)
|
2019-09-30 15:03:18 +02:00
|
|
|
|
(invoke "tar" "xf" (assoc-ref
|
|
|
|
|
(or native-inputs inputs)
|
|
|
|
|
"libnl3-doc")
|
2019-01-25 10:41:40 +01:00
|
|
|
|
"--strip-components=1" "-C" dest)))))))
|
2018-01-15 07:29:02 +01:00
|
|
|
|
(home-page "https://www.infradead.org/~tgr/libnl/")
|
2013-11-22 22:50:17 +01:00
|
|
|
|
(synopsis "NetLink protocol library suite")
|
|
|
|
|
(description
|
|
|
|
|
"The libnl suite is a collection of libraries providing APIs to netlink
|
2015-07-23 09:40:05 +02:00
|
|
|
|
protocol based Linux kernel interfaces. Netlink is an IPC mechanism primarily
|
2013-11-22 22:50:17 +01:00
|
|
|
|
between the kernel and user space processes. It was designed to be a more
|
|
|
|
|
flexible successor to ioctl to provide mainly networking related kernel
|
|
|
|
|
configuration and monitoring interfaces.")
|
|
|
|
|
|
|
|
|
|
;; Most files are LGPLv2.1-only, but some are GPLv2-only (like
|
|
|
|
|
;; 'nl-addr-add.c'), so the result is GPLv2-only.
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2)))
|
2013-11-22 22:55:06 +01:00
|
|
|
|
|
2019-09-30 15:03:18 +02:00
|
|
|
|
;; libnl python extensions used to be outputs of libnl. However, as
|
|
|
|
|
;; cross-compiling python extensions is currently broken, create separate
|
|
|
|
|
;; packages for libnl python extensions.
|
|
|
|
|
(define (libnl-python-package python)
|
|
|
|
|
(let ((name (string-append "libnl-" python)))
|
|
|
|
|
(package
|
|
|
|
|
(inherit libnl)
|
|
|
|
|
(name name)
|
|
|
|
|
(inputs `(,@(cond
|
|
|
|
|
((string=? python "python2")
|
|
|
|
|
`(("python-2" ,python-2)))
|
|
|
|
|
((string=? python "python3")
|
|
|
|
|
`(("python-3" ,python-3))))))
|
|
|
|
|
(propagated-inputs `(("libnl" ,libnl)))
|
|
|
|
|
(outputs '("out"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(define (python-inst python)
|
|
|
|
|
(invoke python "setup.py" "build")
|
|
|
|
|
(invoke python "setup.py" "install"
|
|
|
|
|
(string-append "--prefix="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
(invoke python "setup.py" "clean"))
|
|
|
|
|
(setenv "LDFLAGS" (format #f "-Wl,-rpath=~a/lib"
|
|
|
|
|
(assoc-ref inputs "libnl")))
|
|
|
|
|
(with-directory-excursion "./python" (python-inst ,python))
|
|
|
|
|
#t))))))))
|
|
|
|
|
|
|
|
|
|
(define-public libnl-python2 (libnl-python-package "python2"))
|
|
|
|
|
(define-public libnl-python3 (libnl-python-package "python3"))
|
|
|
|
|
|
2015-01-13 00:12:16 +01:00
|
|
|
|
(define-public iw
|
|
|
|
|
(package
|
|
|
|
|
(name "iw")
|
2018-01-23 12:51:24 +01:00
|
|
|
|
(version "4.14")
|
2015-01-13 00:12:16 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-05-12 21:01:44 +02:00
|
|
|
|
"mirror://kernel.org/software/network/iw/iw-"
|
2015-01-13 00:12:16 +01:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-01-23 12:51:24 +01:00
|
|
|
|
"12ddd6vh6vs97135bnlyr0szv7hvpbnmfh48584frzab0z0725ph"))))
|
2015-01-13 00:12:16 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs `(("libnl" ,libnl)))
|
|
|
|
|
(arguments
|
2019-12-16 12:39:18 +01:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(let* ((target ,(%current-target-system))
|
|
|
|
|
(pkg-config (if target
|
|
|
|
|
(string-append target "-pkg-config")
|
|
|
|
|
"pkg-config")))
|
|
|
|
|
(list
|
2020-06-02 21:41:32 +02:00
|
|
|
|
,(string-append "CC=" (cc-for-target))
|
2019-12-16 12:39:18 +01:00
|
|
|
|
(string-append "PKG_CONFIG="
|
|
|
|
|
(assoc-ref %build-inputs "pkg-config")
|
|
|
|
|
"/bin/" pkg-config)
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
#:phases (modify-phases %standard-phases (delete 'configure))))
|
2016-05-12 21:01:44 +02:00
|
|
|
|
(home-page "https://wireless.wiki.kernel.org/")
|
2015-01-13 00:12:16 +01:00
|
|
|
|
(synopsis "Tool for configuring wireless devices")
|
|
|
|
|
(description
|
|
|
|
|
"iw is a new nl80211 based CLI configuration utility for wireless
|
2016-05-12 21:01:44 +02:00
|
|
|
|
devices. It replaces @code{iwconfig}, which is deprecated.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:isc)))
|
2015-01-13 00:12:16 +01:00
|
|
|
|
|
2013-11-22 22:55:06 +01:00
|
|
|
|
(define-public powertop
|
|
|
|
|
(package
|
|
|
|
|
(name "powertop")
|
2020-07-01 03:45:52 +02:00
|
|
|
|
(version "2.13")
|
2013-11-22 22:55:06 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-24 21:02:02 +01:00
|
|
|
|
(uri (string-append "https://01.org/sites/default/files/downloads/"
|
2020-05-08 02:28:09 +02:00
|
|
|
|
"powertop-" version ".tar.gz"))
|
2013-11-22 22:55:06 +01:00
|
|
|
|
(sha256
|
2020-07-01 03:45:52 +02:00
|
|
|
|
(base32 "0y1ixw8v17fdb1ima0zshrd0rh4zxdh10r93nrrvq6d4lhn9jpx6"))))
|
2013-11-22 22:55:06 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2016-04-18 17:00:44 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; TODO: Patch some hardcoded "wlan0" in calibrate/calibrate.cpp to
|
2019-03-13 16:44:02 +01:00
|
|
|
|
;; allow calibrating the network interface in Guix System.
|
2016-04-18 17:00:44 +02:00
|
|
|
|
(add-after 'unpack 'patch-absolute-file-names
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((kmod (assoc-ref inputs "kmod")))
|
|
|
|
|
(substitute* (find-files "src" "\\.cpp$")
|
|
|
|
|
;; Give the right 'modprobe' file name so that essential
|
|
|
|
|
;; modules such as msr.ko can be loaded.
|
|
|
|
|
(("/sbin/modprobe") (string-append kmod "/bin/modprobe"))
|
|
|
|
|
;; These programs are only needed to calibrate, so using
|
|
|
|
|
;; relative file names avoids adding extra inputs. When they
|
|
|
|
|
;; are missing powertop gracefully handles it.
|
|
|
|
|
(("/usr/bin/hcitool") "hcitool")
|
|
|
|
|
(("/usr/bin/xset") "xset")
|
|
|
|
|
(("/usr/sbin/hciconfig") "hciconfig"))
|
|
|
|
|
#t))))))
|
2013-11-22 22:55:06 +01:00
|
|
|
|
(inputs
|
2016-04-18 17:00:44 +02:00
|
|
|
|
`(("kmod" ,kmod)
|
|
|
|
|
("libnl" ,libnl)
|
2013-11-22 22:55:06 +01:00
|
|
|
|
("ncurses" ,ncurses)
|
2016-04-18 17:00:44 +02:00
|
|
|
|
("pciutils" ,pciutils)
|
|
|
|
|
("zlib" ,zlib)))
|
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 12:01:56 +01:00
|
|
|
|
(native-inputs
|
2015-12-14 09:29:18 +01:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2013-11-22 22:55:06 +01:00
|
|
|
|
(home-page "https://01.org/powertop/")
|
|
|
|
|
(synopsis "Analyze power consumption on Intel-based laptops")
|
|
|
|
|
(description
|
|
|
|
|
"PowerTOP is a Linux tool to diagnose issues with power consumption and
|
|
|
|
|
power management. In addition to being a diagnostic tool, PowerTOP also has
|
|
|
|
|
an interactive mode where the user can experiment various power management
|
|
|
|
|
settings for cases where the operating system has not enabled these
|
|
|
|
|
settings.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2)))
|
2014-01-13 18:47:59 +01:00
|
|
|
|
|
|
|
|
|
(define-public aumix
|
|
|
|
|
(package
|
|
|
|
|
(name "aumix")
|
|
|
|
|
(version "2.9.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.jpj.net/~trevor/aumix/releases/aumix-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0a8fwyxnc5qdxff8sl2sfsbnvgh6pkij4yafiln0fxgg6bal7knj"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)))
|
|
|
|
|
(home-page "http://www.jpj.net/~trevor/aumix.html")
|
|
|
|
|
(synopsis "Audio mixer for X and the console")
|
|
|
|
|
(description
|
|
|
|
|
"Aumix adjusts an audio mixer from X, the console, a terminal,
|
|
|
|
|
the command line or a script.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2014-01-27 17:45:21 +01:00
|
|
|
|
|
|
|
|
|
(define-public iotop
|
|
|
|
|
(package
|
|
|
|
|
(name "iotop")
|
|
|
|
|
(version "0.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://guichaz.free.fr/iotop/files/iotop-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256 (base32
|
|
|
|
|
"1kp8mqg2pbxq4xzpianypadfxcsyfgwcaqgqia6h9fsq6zyh4z0s"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2019-11-28 23:21:05 +01:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-build-with-python3
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("itervalues") "values"))
|
|
|
|
|
#t)))
|
2014-01-27 19:02:51 +01:00
|
|
|
|
;; There are currently no checks in the package.
|
2014-01-27 17:45:21 +01:00
|
|
|
|
#:tests? #f))
|
2019-11-28 23:21:05 +01:00
|
|
|
|
(native-inputs `(("python" ,python)))
|
2014-01-27 17:45:21 +01:00
|
|
|
|
(home-page "http://guichaz.free.fr/iotop/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Displays the IO activity of running processes")
|
|
|
|
|
(description
|
|
|
|
|
"Iotop is a Python program with a top like user interface to show the
|
|
|
|
|
processes currently causing I/O.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2014-02-08 16:07:02 +01:00
|
|
|
|
|
|
|
|
|
(define-public fuse
|
|
|
|
|
(package
|
|
|
|
|
(name "fuse")
|
2019-09-17 16:04:15 +02:00
|
|
|
|
(version "2.9.9")
|
2014-02-08 16:07:02 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-24 19:12:35 +02:00
|
|
|
|
(uri (string-append "https://github.com/libfuse/libfuse/releases/"
|
|
|
|
|
"download/fuse-" version
|
|
|
|
|
"/fuse-" version ".tar.gz"))
|
2014-02-08 16:07:02 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-17 16:04:15 +02:00
|
|
|
|
"1ddlq6kzxilccgbvxjfx80jx6kamgw4sv49phks2zhlcc1frvrnh"))
|
2017-04-25 20:18:42 +02:00
|
|
|
|
(patches (search-patches "fuse-overlapping-headers.patch"))))
|
2014-02-08 16:07:02 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2014-03-16 23:18:36 +01:00
|
|
|
|
(inputs `(("util-linux" ,util-linux)))
|
2014-02-08 16:07:02 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags (list (string-append "MOUNT_FUSE_PATH="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/sbin")
|
|
|
|
|
(string-append "INIT_D_PATH="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/etc/init.d")
|
2014-09-13 10:32:47 +02:00
|
|
|
|
|
|
|
|
|
;; The rule makes /dev/fuse 666.
|
2014-02-08 16:07:02 +01:00
|
|
|
|
(string-append "UDEV_RULES_PATH="
|
|
|
|
|
(assoc-ref %outputs "out")
|
2014-09-13 10:32:47 +02:00
|
|
|
|
"/lib/udev/rules.d"))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-file-names
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; libfuse calls out to mount(8) and umount(8). Make sure
|
|
|
|
|
;; it refers to the right ones.
|
|
|
|
|
(substitute* '("lib/mount_util.c" "util/mount_util.c")
|
|
|
|
|
(("/bin/(u?)mount" _ maybe-u)
|
|
|
|
|
(string-append (assoc-ref inputs "util-linux")
|
|
|
|
|
"/bin/" maybe-u "mount")))
|
|
|
|
|
(substitute* '("util/mount.fuse.c")
|
|
|
|
|
(("/bin/sh")
|
|
|
|
|
(which "sh")))
|
|
|
|
|
|
|
|
|
|
;; This hack leads libfuse to search for 'fusermount' in
|
|
|
|
|
;; $PATH, where it may find a setuid-root binary, instead of
|
|
|
|
|
;; trying solely $out/sbin/fusermount and failing because
|
|
|
|
|
;; it's not setuid.
|
|
|
|
|
(substitute* "lib/Makefile"
|
|
|
|
|
(("-DFUSERMOUNT_DIR=[[:graph:]]+")
|
|
|
|
|
"-DFUSERMOUNT_DIR=\\\"/var/empty\\\""))
|
|
|
|
|
#t)))))
|
2020-03-11 00:33:24 +01:00
|
|
|
|
(supported-systems (delete "i586-gnu" %supported-systems))
|
2016-05-24 19:12:35 +02:00
|
|
|
|
(home-page "https://github.com/libfuse/libfuse")
|
2014-02-08 16:07:02 +01:00
|
|
|
|
(synopsis "Support file systems implemented in user space")
|
|
|
|
|
(description
|
|
|
|
|
"As a consequence of its monolithic design, file system code for Linux
|
|
|
|
|
normally goes into the kernel itself---which is not only a robustness issue,
|
|
|
|
|
but also an impediment to system extensibility. FUSE, for \"file systems in
|
|
|
|
|
user space\", is a kernel module and user-space library that tries to address
|
|
|
|
|
part of this problem by allowing users to run file system implementations as
|
|
|
|
|
user-space processes.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license (list license:lgpl2.1 ;library
|
|
|
|
|
license:gpl2+)))) ;command-line utilities
|
2014-03-10 22:31:08 +01:00
|
|
|
|
|
|
|
|
|
(define-public unionfs-fuse
|
|
|
|
|
(package
|
|
|
|
|
(name "unionfs-fuse")
|
2020-11-29 22:48:27 +01:00
|
|
|
|
(version "2.1")
|
2014-03-10 22:31:08 +01:00
|
|
|
|
(source (origin
|
2020-03-29 19:04:58 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/rpodgorny/unionfs-fuse")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-03-10 22:31:08 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-29 22:48:27 +01:00
|
|
|
|
"0bwx70x834qgqh53vqp18bhbxbsny80hz922rbgj8k9wj7cbfilm"))))
|
2014-03-10 22:31:08 +01:00
|
|
|
|
(build-system cmake-build-system)
|
2017-04-24 11:11:55 +02:00
|
|
|
|
(native-inputs
|
2018-01-18 02:52:49 +01:00
|
|
|
|
`(("python" ,python)))
|
2014-03-10 22:31:08 +01:00
|
|
|
|
(inputs `(("fuse" ,fuse)))
|
2017-04-24 11:11:55 +02:00
|
|
|
|
(arguments
|
2018-01-18 02:52:49 +01:00
|
|
|
|
;; The tests were never actually run ("collected 0 items"), but in recent
|
|
|
|
|
;; versions of pytest that causes an error.
|
|
|
|
|
'(#:tests? #f))
|
2017-04-24 11:10:32 +02:00
|
|
|
|
(home-page "https://github.com/rpodgorny/unionfs-fuse")
|
2014-03-10 22:31:08 +01:00
|
|
|
|
(synopsis "User-space union file system")
|
|
|
|
|
(description
|
|
|
|
|
"UnionFS-FUSE is a flexible union file system implementation in user
|
|
|
|
|
space, using the FUSE library. Mounting a union file system allows you to
|
|
|
|
|
\"aggregate\" the contents of several directories into a single mount point.
|
|
|
|
|
UnionFS-FUSE additionally supports copy-on-write.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:bsd-3)))
|
2014-03-12 15:11:30 +01:00
|
|
|
|
|
2014-04-14 23:47:15 +02:00
|
|
|
|
(define fuse-static
|
|
|
|
|
(package (inherit fuse)
|
|
|
|
|
(name "fuse-static")
|
|
|
|
|
(source (origin (inherit (package-source fuse))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
'(begin
|
|
|
|
|
;; Normally libfuse invokes mount(8) so that /etc/mtab is
|
|
|
|
|
;; updated. Change calls to 'mtab_needs_update' to 0 so
|
|
|
|
|
;; that it doesn't do that, allowing us to remove the
|
|
|
|
|
;; dependency on util-linux (something that is useful in
|
|
|
|
|
;; initrds.)
|
|
|
|
|
(substitute* '("lib/mount_util.c"
|
|
|
|
|
"util/mount_util.c")
|
|
|
|
|
(("mtab_needs_update[[:blank:]]*\\([a-z_]+\\)")
|
|
|
|
|
"0")
|
|
|
|
|
(("/bin/")
|
|
|
|
|
""))
|
|
|
|
|
#t))))))
|
2014-04-14 23:47:15 +02:00
|
|
|
|
|
2014-03-12 15:11:30 +01:00
|
|
|
|
(define-public unionfs-fuse/static
|
|
|
|
|
(package (inherit unionfs-fuse)
|
|
|
|
|
(synopsis "User-space union file system (statically linked)")
|
|
|
|
|
(name (string-append (package-name unionfs-fuse) "-static"))
|
|
|
|
|
(source (origin (inherit (package-source unionfs-fuse))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
'(begin
|
|
|
|
|
;; Add -ldl to the libraries, because libfuse.a needs that.
|
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
|
(("target_link_libraries(.*)\\)" _ libs)
|
|
|
|
|
(string-append "target_link_libraries"
|
|
|
|
|
libs " dl)")))
|
|
|
|
|
#t))))
|
2014-03-12 15:11:30 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f
|
2014-09-06 23:26:00 +02:00
|
|
|
|
#:configure-flags '("-DCMAKE_EXE_LINKER_FLAGS=-static")
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'post-install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(exe (string-append out "/bin/unionfs")))
|
|
|
|
|
;; By default, 'unionfs' keeps references to
|
|
|
|
|
;; $glibc/share/locale and similar stuff. Remove them.
|
|
|
|
|
(remove-store-references exe)
|
|
|
|
|
|
|
|
|
|
;; 'unionfsctl' has references to glibc as well. Since
|
|
|
|
|
;; we don't need it, remove it.
|
|
|
|
|
(delete-file (string-append out "/bin/unionfsctl"))
|
|
|
|
|
#t))))))
|
2014-04-14 23:47:15 +02:00
|
|
|
|
(inputs `(("fuse" ,fuse-static)))))
|
2014-05-09 14:55:12 +02:00
|
|
|
|
|
2019-01-14 21:03:20 +01:00
|
|
|
|
(define-public sshfs
|
2014-05-28 12:31:06 +02:00
|
|
|
|
(package
|
2019-01-14 21:03:20 +01:00
|
|
|
|
(name "sshfs")
|
2017-08-03 21:55:20 +02:00
|
|
|
|
(version "2.10")
|
2014-05-28 12:31:06 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-03 21:08:47 +02:00
|
|
|
|
(uri (string-append "https://github.com/libfuse/sshfs/releases/"
|
2017-04-17 22:55:06 +02:00
|
|
|
|
"download/sshfs-" version "/sshfs-" version
|
|
|
|
|
".tar.gz"))
|
2014-05-28 12:31:06 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-08-03 21:55:20 +02:00
|
|
|
|
"00fir2iykdx11g8nv5gijg0zjrp2g3ldypnv0yi6lq3h5pg5v13h"))))
|
2014-05-28 12:31:06 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fuse" ,fuse)
|
|
|
|
|
("glib" ,glib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2017-04-17 22:55:06 +02:00
|
|
|
|
(home-page "https://github.com/libfuse/sshfs")
|
2014-05-28 12:31:06 +02:00
|
|
|
|
(synopsis "Mount remote file systems over SSH")
|
|
|
|
|
(description
|
|
|
|
|
"This is a file system client based on the SSH File Transfer Protocol.
|
|
|
|
|
Since most SSH servers already support this protocol it is very easy to set
|
|
|
|
|
up: on the server side there's nothing to do; on the client side mounting the
|
|
|
|
|
file system is as easy as logging into the server with an SSH client.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2014-05-28 12:31:06 +02:00
|
|
|
|
|
2019-01-14 21:03:20 +01:00
|
|
|
|
(define-public sshfs-fuse
|
|
|
|
|
(package (inherit sshfs)
|
|
|
|
|
(name "sshfs-fuse")
|
|
|
|
|
(properties `((superseded . ,sshfs)))))
|
|
|
|
|
|
2017-06-02 09:20:27 +02:00
|
|
|
|
(define-public archivemount
|
|
|
|
|
(package
|
|
|
|
|
(name "archivemount")
|
2020-11-03 05:55:07 +01:00
|
|
|
|
(version "0.9.1")
|
2017-06-02 09:20:27 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-19 17:19:25 +01:00
|
|
|
|
(uri (string-append "https://www.cybernoia.de/software/archivemount/"
|
2017-06-02 09:20:27 +02:00
|
|
|
|
"archivemount-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-11-03 05:55:07 +01:00
|
|
|
|
(base32 "1cy5b6qril9c3ry6fv7ir87s8iyy5vxxmbyx90dm86fbra0vjaf5"))))
|
2017-06-02 09:20:27 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2018-03-16 16:50:14 +01:00
|
|
|
|
(inputs `(("fuse" ,fuse)
|
|
|
|
|
("libarchive" ,libarchive)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2019-02-19 17:19:25 +01:00
|
|
|
|
(home-page "https://www.cybernoia.de/software/archivemount.html")
|
2017-06-02 09:20:27 +02:00
|
|
|
|
(synopsis "Tool for mounting archive files with FUSE")
|
|
|
|
|
(description "archivemount is a FUSE-based file system for Unix variants,
|
|
|
|
|
including Linux. Its purpose is to mount archives (i.e. tar, tar.gz, etc.) to a
|
|
|
|
|
mount point where it can be read from or written to as with any other file
|
|
|
|
|
system. This makes accessing the contents of the archive, which may be
|
|
|
|
|
compressed, transparent to other programs, without decompressing them.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
|
|
|
|
|
2014-05-09 14:55:12 +02:00
|
|
|
|
(define-public numactl
|
|
|
|
|
(package
|
|
|
|
|
(name "numactl")
|
2020-09-23 00:56:29 +02:00
|
|
|
|
(version "2.0.14")
|
2014-05-09 14:55:12 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2018-08-08 21:29:47 +02:00
|
|
|
|
"https://github.com/numactl/numactl/releases/download/v"
|
2019-08-30 21:13:00 +02:00
|
|
|
|
version "/numactl-" version ".tar.gz"))
|
2014-05-09 14:55:12 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-23 00:56:29 +02:00
|
|
|
|
"1xngddsph43bxljywahi9d44fxr022slsap4hh91w8xnq54d2sw2"))))
|
2014-05-09 14:55:12 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2015-12-12 10:19:04 +01:00
|
|
|
|
'(;; There's a 'test' target, but it requires NUMA support in the kernel
|
2014-05-09 14:55:12 +02:00
|
|
|
|
;; to run, which we can't assume to have.
|
|
|
|
|
#:tests? #f))
|
2015-10-17 21:42:42 +02:00
|
|
|
|
|
2016-02-03 21:03:46 +01:00
|
|
|
|
;; NUMA is apparently not supported on armhf, see
|
|
|
|
|
;; http://www.spinics.net/lists/linux-numa/msg01157.html
|
|
|
|
|
(supported-systems (delete "armhf-linux" %supported-systems))
|
2018-08-08 21:29:47 +02:00
|
|
|
|
(home-page "https://github.com/numactl/numactl")
|
2014-05-09 14:55:12 +02:00
|
|
|
|
(synopsis "Tools for non-uniform memory access (NUMA) machines")
|
|
|
|
|
(description
|
|
|
|
|
"NUMA stands for Non-Uniform Memory Access, in other words a system whose
|
2019-08-30 21:14:04 +02:00
|
|
|
|
memory is not all in one place. The @command{numactl} program allows you to
|
|
|
|
|
run your application program on specific CPUs and memory nodes. It does this
|
|
|
|
|
by supplying a NUMA memory policy to the operating system before running your
|
2014-05-09 14:55:12 +02:00
|
|
|
|
program.
|
|
|
|
|
|
2019-08-30 21:14:04 +02:00
|
|
|
|
The package contains other commands, such as @command{numastat},
|
|
|
|
|
@command{memhog}, and @command{numademo} which provides a quick overview of
|
|
|
|
|
NUMA performance on your system.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license (list license:gpl2 ;programs
|
|
|
|
|
license:lgpl2.1)))) ;library
|
2014-05-19 23:52:11 +02:00
|
|
|
|
|
2017-01-01 17:36:27 +01:00
|
|
|
|
(define-public kbd-neo
|
|
|
|
|
(package
|
|
|
|
|
(name "kbd-neo")
|
|
|
|
|
(version "2486")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://svn.neo-layout.org/!svn/bc/"
|
|
|
|
|
version "/linux/console/neo.map"))
|
|
|
|
|
(file-name (string-append name "-" version ".map"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19mfrd31vzpsjiwc7pshxm0b0sz5dd17xrz6k079cy4im1vf0r4g"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder (begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let ((out (string-append %output "/share/keymaps"))
|
|
|
|
|
(source (assoc-ref %build-inputs "source")))
|
|
|
|
|
(mkdir-p out)
|
|
|
|
|
(copy-file source (string-append out "/neo.map"))
|
|
|
|
|
#t))))
|
|
|
|
|
(home-page "https://neo-layout.org")
|
|
|
|
|
(synopsis "Neo2 console layout")
|
|
|
|
|
(description
|
|
|
|
|
"Kbd-neo provides the Neo2 keyboard layout for use with
|
|
|
|
|
@command{loadkeys(1)} from @code{kbd(4)}.")
|
|
|
|
|
;; The file is located in an svn directory, the entire content of
|
|
|
|
|
;; the directory is licensed as GPL3.
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2014-05-19 23:52:11 +02:00
|
|
|
|
(define-public kbd
|
|
|
|
|
(package
|
|
|
|
|
(name "kbd")
|
2017-01-31 23:45:56 +01:00
|
|
|
|
(version "2.0.4")
|
2014-05-19 23:52:11 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org/linux/utils/kbd/kbd-"
|
2015-04-07 19:18:22 +02:00
|
|
|
|
version ".tar.xz"))
|
2014-05-19 23:52:11 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-31 23:45:56 +01:00
|
|
|
|
"124swm93dm4ca0pifgkrand3r9gvj3019d4zkfxsj9djpvv0mnaz"))
|
2014-06-18 15:32:17 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2014-07-16 15:46:57 +02:00
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "tests/Makefile.in"
|
|
|
|
|
;; The '%: %.in' rule incorrectly uses @VERSION@.
|
|
|
|
|
(("@VERSION@")
|
|
|
|
|
"[@]VERSION[@]"))
|
|
|
|
|
(substitute* '("src/unicode_start" "src/unicode_stop")
|
|
|
|
|
;; Assume the Coreutils are in $PATH.
|
|
|
|
|
(("/usr/bin/tty")
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
"tty"))
|
|
|
|
|
#t))))
|
2014-05-19 23:52:11 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-04-08 20:57:11 +02:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'pre-build
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((gzip (assoc-ref %build-inputs "gzip"))
|
|
|
|
|
(bzip2 (assoc-ref %build-inputs "bzip2")))
|
|
|
|
|
(substitute* "src/libkeymap/findfile.c"
|
|
|
|
|
(("gzip")
|
|
|
|
|
(string-append gzip "/bin/gzip"))
|
|
|
|
|
(("bzip2")
|
2018-04-12 09:52:40 +02:00
|
|
|
|
(string-append bzip2 "/bin/bzip2")))
|
|
|
|
|
#t)))
|
2016-04-08 20:57:11 +02:00
|
|
|
|
(add-after 'install 'post-install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Make sure these programs find their comrades.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(for-each (lambda (prog)
|
|
|
|
|
(wrap-program (string-append bin "/" prog)
|
|
|
|
|
`("PATH" ":" prefix (,bin))))
|
2018-04-12 09:52:40 +02:00
|
|
|
|
'("unicode_start" "unicode_stop"))
|
|
|
|
|
#t))))))
|
2014-05-19 23:52:11 +02:00
|
|
|
|
(inputs `(("check" ,check)
|
2015-03-04 17:02:07 +01:00
|
|
|
|
("gzip" ,gzip)
|
|
|
|
|
("bzip2" ,bzip2)
|
2014-05-19 23:52:11 +02:00
|
|
|
|
("pam" ,linux-pam)))
|
2017-05-25 14:48:16 +02:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "LOADKEYS_KEYMAP_PATH")
|
2017-07-13 00:07:45 +02:00
|
|
|
|
;; Append ‘/**’ to recursively search all directories. One can then
|
|
|
|
|
;; run (for example) ‘loadkeys en-latin9’ instead of having to find
|
|
|
|
|
;; and type ‘i386/colemak/en-latin9’ on a mislabelled keyboard.
|
|
|
|
|
(files (list "share/keymaps/**")))))
|
2014-05-19 23:52:11 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-05-12 00:53:51 +02:00
|
|
|
|
(home-page "http://kbd-project.org/")
|
2014-05-19 23:52:11 +02:00
|
|
|
|
(synopsis "Linux keyboard utilities and keyboard maps")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains keytable files and keyboard utilities compatible
|
|
|
|
|
for systems using the Linux kernel. This includes commands such as
|
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 15:39:43 +02:00
|
|
|
|
@code{loadkeys}, @code{setfont}, @code{kbdinfo}, and @code{chvt}.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2014-05-26 00:08:50 +02:00
|
|
|
|
|
2019-03-20 12:17:14 +01:00
|
|
|
|
(define-public loadkeys-static
|
|
|
|
|
(package
|
|
|
|
|
(inherit kbd)
|
|
|
|
|
(name "loadkeys-static")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments kbd)
|
|
|
|
|
((#:configure-flags flags ''())
|
|
|
|
|
`(append '("LDFLAGS=-static" "--disable-shared" "--disable-nls"
|
|
|
|
|
"--disable-vlock" ;so we don't need libpam
|
|
|
|
|
"--disable-libkeymap")
|
|
|
|
|
,flags))
|
|
|
|
|
((#:make-flags flags ''())
|
|
|
|
|
`(cons "LDFLAGS=-all-static" ,flags))
|
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; The binary keeps references to gzip, among other things,
|
|
|
|
|
;; which we don't need in the initrd, so strip references.
|
|
|
|
|
(remove-store-references "src/loadkeys")
|
|
|
|
|
|
|
|
|
|
(install-file "src/loadkeys"
|
|
|
|
|
(string-append out "/bin"))
|
|
|
|
|
#t)))
|
|
|
|
|
(delete 'post-install)))
|
|
|
|
|
((#:strip-flags _ '())
|
|
|
|
|
''("--strip-all"))
|
|
|
|
|
((#:allowed-references _ '())
|
|
|
|
|
'())))
|
|
|
|
|
|
|
|
|
|
(synopsis "Statically-linked @command{loadkeys} program")
|
|
|
|
|
|
|
|
|
|
;; This package is meant to be used internally in the initrd so don't
|
|
|
|
|
;; expose it.
|
|
|
|
|
(properties '((hidden? . #t)))))
|
|
|
|
|
|
2014-05-26 00:08:50 +02:00
|
|
|
|
(define-public inotify-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "inotify-tools")
|
2020-12-01 19:05:40 +01:00
|
|
|
|
(version "3.20.11.0")
|
2014-05-26 00:08:50 +02:00
|
|
|
|
(source (origin
|
2018-11-11 12:36:15 +01: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/rvoicilas/inotify-tools")
|
2018-11-11 12:36:15 +01:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-05-26 00:08:50 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-01 19:05:40 +01:00
|
|
|
|
"1m8avqccrhm38krlhp88a7v949f3hrzx060bbrr5dp5qw2nmw9j2"))))
|
2014-05-26 00:08:50 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2018-05-02 13:03:33 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
2020-12-01 19:08:24 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--disable-static")))
|
2018-05-02 13:03:33 +02:00
|
|
|
|
(home-page "https://github.com/rvoicilas/inotify-tools/wiki")
|
2014-05-26 00:08:50 +02:00
|
|
|
|
(synopsis "Monitor file accesses")
|
|
|
|
|
(description
|
|
|
|
|
"The inotify-tools packages provides a C library and command-line tools
|
|
|
|
|
to use Linux' inotify mechanism, which allows file accesses to be monitored.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2014-06-07 21:16:37 +02:00
|
|
|
|
|
|
|
|
|
(define-public kmod
|
|
|
|
|
(package
|
|
|
|
|
(name "kmod")
|
2020-04-04 09:05:21 +02:00
|
|
|
|
(version "27")
|
2014-06-07 21:16:37 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://kernel.org/linux/utils/kernel/kmod/"
|
|
|
|
|
"kmod-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-04 09:05:21 +02:00
|
|
|
|
"035wzfzjx4nwidk747p8n085mgkvy531ppn16krrajx2dkqzply1"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "kmod-module-directory.patch"))))
|
2014-06-07 21:16:37 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2015-03-04 17:02:07 +01:00
|
|
|
|
`(("xz" ,xz)
|
|
|
|
|
("zlib" ,zlib)))
|
2014-06-07 21:16:37 +02:00
|
|
|
|
(arguments
|
2020-04-04 09:05:21 +02:00
|
|
|
|
`(#:configure-flags '("--with-xz" "--with-zlib"
|
|
|
|
|
"--disable-test-modules")
|
2018-02-19 20:22:26 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-04-04 09:05:21 +02:00
|
|
|
|
(add-after 'unpack 'disable-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; XXX: These tests need '--sysconfdir=/etc' to pass.
|
2020-05-15 01:26:59 +02:00
|
|
|
|
(substitute* "Makefile.in"
|
2020-04-04 09:05:21 +02:00
|
|
|
|
(("testsuite/test-modprobe") "")
|
|
|
|
|
(("testsuite/test-depmod") "")
|
|
|
|
|
(("testsuite/test-blacklist") ""))
|
|
|
|
|
#t))
|
2018-02-19 20:22:26 +01:00
|
|
|
|
(add-after 'install 'install-modprobe&co
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(for-each (lambda (tool)
|
|
|
|
|
(symlink "kmod"
|
|
|
|
|
(string-append bin "/" tool)))
|
|
|
|
|
'("insmod" "rmmod" "lsmod" "modprobe"
|
|
|
|
|
"modinfo" "depmod"))
|
|
|
|
|
#t))))))
|
2020-03-07 10:05:02 +01:00
|
|
|
|
(supported-systems (delete "i586-gnu" %supported-systems))
|
2014-06-07 21:16:37 +02:00
|
|
|
|
(home-page "https://www.kernel.org/")
|
|
|
|
|
(synopsis "Kernel module tools")
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
(description "Kmod is a set of tools to handle common tasks with Linux
|
2014-06-07 21:16:37 +02:00
|
|
|
|
kernel modules like insert, remove, list, check properties, resolve
|
|
|
|
|
dependencies and aliases.
|
|
|
|
|
|
|
|
|
|
These tools are designed on top of libkmod, a library that is shipped with
|
|
|
|
|
kmod. The aim is to be compatible with tools, configurations and indices
|
|
|
|
|
from the module-init-tools project.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+))) ; library under lgpl2.1+
|
2014-06-07 21:27:30 +02:00
|
|
|
|
|
2020-01-05 06:44:48 +01:00
|
|
|
|
(define-public earlyoom
|
|
|
|
|
(package
|
|
|
|
|
(name "earlyoom")
|
2020-11-24 00:07:58 +01:00
|
|
|
|
(version "1.6.2")
|
2020-01-05 06:44:48 +01: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/rfjakob/earlyoom")
|
2020-01-05 06:44:48 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-24 00:07:58 +01:00
|
|
|
|
"16iyn51xlrsbshc7p5xl2338yyfzknaqc538sa7mamgccqwgyvvq"))))
|
2020-01-05 06:44:48 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-11-24 00:07:58 +01:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'check 'set-go-HOME
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'disable-failing-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This test relies on writing to /proc/%d/oom_score_adj.
|
|
|
|
|
(substitute* "testsuite_cli_test.go"
|
|
|
|
|
(("TestI" match)
|
|
|
|
|
(string-append "skipped" match)))
|
|
|
|
|
#t)))
|
2020-01-05 06:44:48 +01:00
|
|
|
|
#:make-flags (let* ((prefix (assoc-ref %outputs "out")))
|
2020-06-03 01:28:17 +02:00
|
|
|
|
(list ,(string-append "CC=" (cc-for-target))
|
2020-01-05 06:44:48 +01:00
|
|
|
|
(string-append "VERSION=v" ,version)
|
|
|
|
|
(string-append "PREFIX=" prefix)
|
|
|
|
|
(string-append "SYSCONFDIR=" prefix "/etc")))
|
|
|
|
|
#:test-target "test"))
|
2020-08-15 09:43:04 +02:00
|
|
|
|
(native-inputs `(("go" ,go) ;for the test suite
|
|
|
|
|
("pandoc" ,pandoc))) ;to generate the manpage
|
2020-01-05 06:44:48 +01:00
|
|
|
|
(home-page "https://github.com/rfjakob/earlyoom")
|
|
|
|
|
(synopsis "Simple out of memory (OOM) daemon for the Linux kernel")
|
|
|
|
|
(description "Early OOM is a minimalist out of memory (OOM) daemon that
|
|
|
|
|
runs in user space and provides a more responsive and configurable alternative
|
|
|
|
|
to the in-kernel OOM killer.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2014-09-12 22:12:33 +02:00
|
|
|
|
(define-public eudev
|
|
|
|
|
;; The post-systemd fork, maintained by Gentoo.
|
2015-01-06 20:02:08 +01:00
|
|
|
|
(package
|
2014-09-12 22:12:33 +02:00
|
|
|
|
(name "eudev")
|
2019-12-09 22:29:14 +01:00
|
|
|
|
(version "3.2.9")
|
2014-09-12 22:12:33 +02:00
|
|
|
|
(source (origin
|
2018-12-04 17:26:02 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url "https://github.com/gentoo/eudev")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-09-12 22:12:33 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-09 22:29:14 +01:00
|
|
|
|
"1g9z3d33m0i3hmbhm0wxpvkzf6ac7xj1drwcfrhzlfhhi63sg9h7"))
|
2017-06-09 14:57:41 +02:00
|
|
|
|
(patches (search-patches "eudev-rules-directory.patch"))))
|
2015-01-06 20:02:08 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2017-06-09 09:03:46 +02:00
|
|
|
|
(arguments
|
2019-07-08 13:41:59 +02:00
|
|
|
|
`(#:phases
|
2017-09-23 05:24:23 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2018-12-04 17:26:02 +01:00
|
|
|
|
(add-after 'unpack 'make-source-writable
|
|
|
|
|
(lambda _
|
|
|
|
|
;; XXX: Git checkouts are read-only, but this package needs to
|
|
|
|
|
;; modify some of its files.
|
|
|
|
|
(for-each make-file-writable (find-files "."))
|
|
|
|
|
#t))
|
2018-03-11 21:46:30 +01:00
|
|
|
|
(add-before 'bootstrap 'patch-file-names
|
2019-07-08 13:41:59 +02:00
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
2017-09-23 05:24:23 +02:00
|
|
|
|
(substitute* "man/make.sh"
|
|
|
|
|
(("/usr/bin/xsltproc")
|
2019-07-08 13:41:59 +02:00
|
|
|
|
(string-append (assoc-ref
|
|
|
|
|
(or native-inputs inputs) "xsltproc")
|
2017-09-23 05:24:23 +02:00
|
|
|
|
"/bin/xsltproc")))
|
2018-03-11 21:46:30 +01:00
|
|
|
|
#t))
|
2020-03-14 13:19:06 +01:00
|
|
|
|
(add-before 'configure 'patch-bindir-in-btrfs-rules
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; The "@bindir@" substitution incorrectly expands to a literal
|
|
|
|
|
;; "${exec_prefix}" (see <https://bugs.gnu.org/39926>). Work
|
|
|
|
|
;; around it.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "rules/64-btrfs.rules.in"
|
|
|
|
|
(("@bindir@")
|
|
|
|
|
(string-append out "/bin")))
|
|
|
|
|
#t)))
|
2020-02-15 20:24:26 +01:00
|
|
|
|
(add-after 'install 'move-static-library
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(static (assoc-ref outputs "static"))
|
|
|
|
|
(source (string-append out "/lib/libudev.a"))
|
|
|
|
|
(target (string-append static "/lib/libudev.a")))
|
|
|
|
|
(mkdir-p (dirname target))
|
|
|
|
|
(link source target)
|
|
|
|
|
(delete-file source)
|
|
|
|
|
;; Remove reference to the static library from the .la file
|
|
|
|
|
;; such that Libtool looks for it in the usual places.
|
|
|
|
|
(substitute* (string-append out "/lib/libudev.la")
|
|
|
|
|
(("old_library=.*")
|
|
|
|
|
"old_library=''\n"))
|
|
|
|
|
#t)))
|
2017-09-23 05:24:23 +02:00
|
|
|
|
(add-after 'install 'build-hwdb
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Build OUT/etc/udev/hwdb.bin. This allows 'lsusb' and
|
|
|
|
|
;; similar tools to display product names.
|
2019-07-08 13:41:59 +02:00
|
|
|
|
;;
|
|
|
|
|
;; XXX: This can't be done when cross-compiling. Find another way
|
|
|
|
|
;; to generate hwdb.bin for cross-built systems.
|
2017-09-23 05:24:23 +02:00
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2019-07-08 13:41:59 +02:00
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'(#t)
|
|
|
|
|
'((invoke (string-append out "/bin/udevadm")
|
|
|
|
|
"hwdb" "--update")))))))
|
2020-02-15 20:24:26 +01:00
|
|
|
|
#:configure-flags (list "--enable-manpages")))
|
2015-01-06 20:02:08 +01:00
|
|
|
|
(native-inputs
|
2017-09-23 05:24:23 +02:00
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
;; For tests.
|
2015-10-16 15:13:02 +02:00
|
|
|
|
("perl" ,perl)
|
2017-09-23 05:24:23 +02:00
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
;; For documentation.
|
|
|
|
|
("docbook-xml" ,docbook-xml-4.2)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("libxml2" ,libxml2) ;for $XML_CATALOG_FILES
|
2018-03-16 16:50:14 +01:00
|
|
|
|
("xsltproc" ,libxslt)))
|
2015-01-06 20:02:08 +01:00
|
|
|
|
(inputs
|
2016-03-09 15:26:09 +01:00
|
|
|
|
;; When linked against libblkid, eudev can populate /dev/disk/by-label
|
|
|
|
|
;; and similar; it also installs the '60-persistent-storage.rules' file,
|
|
|
|
|
;; which contains the rules to do that.
|
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-15 00:24:28 +01:00
|
|
|
|
`(("util-linux" ,util-linux "lib") ;for blkid
|
2016-03-09 15:26:09 +01:00
|
|
|
|
("kmod" ,kmod)))
|
2020-02-15 20:24:26 +01:00
|
|
|
|
(outputs '("out" "static"))
|
2015-12-24 07:38:53 +01:00
|
|
|
|
(home-page "https://wiki.gentoo.org/wiki/Project:Eudev")
|
2015-01-06 20:02:08 +01:00
|
|
|
|
(synopsis "Userspace device management")
|
|
|
|
|
(description "Udev is a daemon which dynamically creates and removes
|
|
|
|
|
device nodes from /dev/, handles hotplug events and loads drivers at boot
|
|
|
|
|
time.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2014-09-12 22:12:33 +02:00
|
|
|
|
|
2020-04-23 00:30:07 +02:00
|
|
|
|
(define-public python-evdev
|
|
|
|
|
(package
|
|
|
|
|
(name "python-evdev")
|
|
|
|
|
(version "1.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "evdev" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0kb3636yaw9l8xi8s184w0r0n9ic5dw3b8hx048jf9fpzss4kimi"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("kernel-headers" ,linux-libre-headers)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no rule for tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'fix-hard-coded-directory
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("/usr/include/linux")
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref inputs "kernel-headers") "/include/linux")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://github.com/gvalkov/python-evdev")
|
|
|
|
|
(synopsis "Bindings to the Linux input handling subsystem")
|
|
|
|
|
(description
|
|
|
|
|
"Python-evdev provides bindings to the generic input event interface in
|
|
|
|
|
Linux. The @code{evdev} interface serves the purpose of passing events
|
|
|
|
|
generated in the kernel directly to userspace through character devices that
|
|
|
|
|
are typically located in @file{/dev/input/}.
|
|
|
|
|
|
|
|
|
|
This package also comes with bindings to @code{uinput}, the userspace input
|
|
|
|
|
subsystem. @code{uinput} allows userspace programs to create and handle input
|
|
|
|
|
devices that can inject events directly into the input subsystem.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2014-08-13 12:19:25 +02:00
|
|
|
|
(define-public lvm2
|
|
|
|
|
(package
|
|
|
|
|
(name "lvm2")
|
2020-08-19 04:21:05 +02:00
|
|
|
|
(version "2.03.10")
|
2014-08-13 12:19:25 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-08-19 12:55:58 +02:00
|
|
|
|
(uri (list (string-append "https://sourceware.org/ftp/lvm2/LVM2."
|
2019-02-01 00:24:38 +01:00
|
|
|
|
version ".tgz")
|
|
|
|
|
(string-append "ftp://sources.redhat.com/pub/lvm2/releases/LVM2."
|
|
|
|
|
version ".tgz")))
|
2014-08-13 12:19:25 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-19 04:21:05 +02:00
|
|
|
|
"1l0fkn9abrgk5mfn6jfh9qhdr86b59l1c5pk6lp8jh0491d69las"))
|
2014-08-13 12:19:25 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
|
|
|
|
|
;; Honor sysconfdir.
|
|
|
|
|
(substitute* "make.tmpl.in"
|
2019-02-01 00:24:38 +01:00
|
|
|
|
(("^confdir = .*$")
|
2014-08-13 12:19:25 +02:00
|
|
|
|
"confdir = @sysconfdir@\n")
|
|
|
|
|
(("DEFAULT_SYS_DIR = @DEFAULT_SYS_DIR@")
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
"DEFAULT_SYS_DIR = @sysconfdir@"))
|
|
|
|
|
#t))
|
2016-11-22 21:38:40 +01:00
|
|
|
|
(patches (search-patches "lvm2-static-link.patch"))))
|
2014-08-13 12:19:25 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("procps" ,procps))) ;tests use 'pgrep'
|
|
|
|
|
(inputs
|
2019-02-01 00:24:38 +01:00
|
|
|
|
`(("libaio" ,libaio)
|
|
|
|
|
("udev" ,eudev)))
|
2014-08-13 12:19:25 +02:00
|
|
|
|
(arguments
|
2019-07-08 14:12:32 +02:00
|
|
|
|
`(#:phases
|
2016-10-03 09:57:53 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'configure 'set-makefile-shell
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Use 'sh', not 'bash', so that '. lib/utils.sh' works as
|
|
|
|
|
;; expected.
|
|
|
|
|
(setenv "SHELL" (which "sh"))
|
2014-08-13 12:19:25 +02:00
|
|
|
|
|
2016-10-03 09:57:53 +02:00
|
|
|
|
;; Replace /bin/sh with the right file name.
|
|
|
|
|
(patch-makefile-SHELL "make.tmpl")
|
2018-02-18 19:45:46 +01:00
|
|
|
|
#t)))
|
2014-08-13 12:19:25 +02:00
|
|
|
|
|
|
|
|
|
#:configure-flags (list (string-append "--sysconfdir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/etc/lvm")
|
|
|
|
|
"--enable-udev_sync"
|
2014-09-10 22:59:27 +02:00
|
|
|
|
"--enable-udev_rules"
|
2018-04-15 10:42:25 +02:00
|
|
|
|
"--enable-pkgconfig"
|
2018-05-30 13:17:53 +02:00
|
|
|
|
"--enable-cmdlib"
|
|
|
|
|
"--enable-dmeventd" ; Requires '--enable-cmdlib'.
|
2014-09-10 22:59:27 +02:00
|
|
|
|
|
|
|
|
|
;; Make sure programs such as 'dmsetup' can
|
|
|
|
|
;; find libdevmapper.so.
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
2018-05-30 13:17:53 +02:00
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/device-mapper")
|
2019-07-08 14:12:32 +02:00
|
|
|
|
;; This is needed when cross-compiling.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'("ac_cv_func_malloc_0_nonnull=yes"
|
|
|
|
|
"ac_cv_func_realloc_0_nonnull=yes")
|
|
|
|
|
'()))
|
2014-08-13 12:19:25 +02:00
|
|
|
|
|
|
|
|
|
;; The tests use 'mknod', which requires root access.
|
|
|
|
|
#:tests? #f))
|
2020-03-11 00:33:24 +01:00
|
|
|
|
(supported-systems (delete "i586-gnu" %supported-systems))
|
2017-05-10 14:30:44 +02:00
|
|
|
|
(home-page "https://sourceware.org/lvm2/")
|
2014-08-13 12:19:25 +02:00
|
|
|
|
(synopsis "Logical volume management for Linux")
|
|
|
|
|
(description
|
|
|
|
|
"LVM2 is the logical volume management tool set for Linux-based systems.
|
|
|
|
|
This package includes the user-space libraries and tools, including the device
|
|
|
|
|
mapper. Kernel components are part of Linux-libre.")
|
|
|
|
|
|
|
|
|
|
;; Libraries (liblvm2, libdevmapper) are LGPLv2.1.
|
|
|
|
|
;; Command-line tools are GPLv2.
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license (list license:gpl2 license:lgpl2.1))))
|
2014-08-13 12:19:25 +02:00
|
|
|
|
|
2016-11-22 21:38:40 +01:00
|
|
|
|
(define-public lvm2-static
|
|
|
|
|
(package
|
|
|
|
|
(inherit lvm2)
|
|
|
|
|
(name "lvm2-static")
|
|
|
|
|
|
|
|
|
|
;; Propagate udev because libdevmapper.a depends on libudev.
|
2020-02-15 20:24:26 +01:00
|
|
|
|
(propagated-inputs `(("udev:static" ,eudev "static")))
|
2016-11-22 21:38:40 +01:00
|
|
|
|
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments lvm2)
|
|
|
|
|
((#:configure-flags flags '())
|
|
|
|
|
;; LVM2 doesn't use Libtool, hence the custom option.
|
2019-02-01 00:24:38 +01:00
|
|
|
|
`(append '("--enable-static_link")
|
|
|
|
|
;; Building dmeventd statically is complicated due to a
|
|
|
|
|
;; requirement on libdevmapper.a, which is being phased out
|
|
|
|
|
;; in favor of libdevice-mapper.a, which in turn is is not
|
|
|
|
|
;; easily made available at dmeventd build time. Just ignore
|
|
|
|
|
;; it until the situation improves.
|
|
|
|
|
(delete "--enable-dmeventd" ,flags)))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-before 'configure 'adjust-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
;; These fixes are related to the upstream libdm->device_mapper
|
|
|
|
|
;; migration and will hopefully be fixed upstream in due time.
|
|
|
|
|
(substitute* "tools/Makefile.in"
|
|
|
|
|
;; This variable is empty in a static configuration and causes
|
|
|
|
|
;; an erroneous GCC command line.
|
|
|
|
|
(("-L\\$\\(interfacebuilddir\\)") "")
|
|
|
|
|
;; Remove obsolete reference to libdevmapper.a.
|
|
|
|
|
(("-ldevmapper") ""))
|
|
|
|
|
#t))))))
|
2016-11-22 21:38:40 +01:00
|
|
|
|
(synopsis "Logical volume management for Linux (statically linked)")))
|
|
|
|
|
|
2020-07-12 00:42:06 +02:00
|
|
|
|
(define-public thin-provisioning-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "thin-provisioning-tools")
|
|
|
|
|
(version "0.8.5")
|
|
|
|
|
(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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/jthornber/thin-provisioning-tools")
|
2020-07-12 00:42:06 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "01wl8c0cjbx1smbhj8dx6av5bnw5775m58gasc3vqwvsj0s9hq19"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Doesn't build with --enable-testing due to a function name collision
|
|
|
|
|
;; with glibc. Fixed upstream. TODO: Enable tests when 0.9.0 is released.
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("automake" ,automake)
|
|
|
|
|
("autoreconf" ,autoconf)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("libaio" ,libaio)))
|
|
|
|
|
(synopsis "Tools for manipulating the metadata of device-mapper targets")
|
|
|
|
|
(description "A suite of tools for manipulating the metadata of the
|
|
|
|
|
dm-thin, dm-cache and dm-era device-mapper targets.")
|
|
|
|
|
(home-page "https://github.com/jthornber/thin-provisioning-tools")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2014-07-19 03:23:58 +02:00
|
|
|
|
(define-public wireless-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "wireless-tools")
|
|
|
|
|
(version "30.pre9")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools."
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2014-11-29 05:52:59 +01:00
|
|
|
|
"0qscyd44jmhs4k32ggp107hlym1pcyjzihiai48xs7xzib4wbndb"))
|
|
|
|
|
(snippet
|
2015-08-14 17:31:15 +02:00
|
|
|
|
'(begin
|
|
|
|
|
;; Remove the older header files that are not free software.
|
|
|
|
|
(for-each (lambda (n)
|
|
|
|
|
(delete-file (format #f "wireless.~a.h" n)))
|
|
|
|
|
'(10 11 12 13 14 15 16 17 18 19 20))
|
|
|
|
|
#t))))
|
2014-07-19 03:23:58 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2015-08-14 17:31:15 +02:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" %output)
|
|
|
|
|
(string-append "INSTALL_MAN=" %output "/share/man")
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
|
|
|
|
|
"BUILD_STATIC=")
|
2019-12-19 15:28:56 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key target #:allow-other-keys)
|
|
|
|
|
(when ,(%current-target-system)
|
|
|
|
|
;; Cross-compilation: use the cross tools.
|
|
|
|
|
(substitute* (find-files "." "Makefile")
|
|
|
|
|
(("CC = .*$")
|
|
|
|
|
(string-append "CC = " target "-gcc\n"))
|
|
|
|
|
(("AR = .*$")
|
|
|
|
|
(string-append "AR = " target "-ar\n"))
|
|
|
|
|
(("RANLIB = .*$")
|
|
|
|
|
(string-append "RANLIB = " target "-ranlib\n"))))
|
|
|
|
|
#t)))
|
2014-07-19 03:23:58 +02:00
|
|
|
|
#:tests? #f))
|
|
|
|
|
(synopsis "Tools for manipulating Linux Wireless Extensions")
|
2015-01-13 11:42:24 +01:00
|
|
|
|
(description "Wireless Tools are used to manipulate the now-deprecated
|
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 15:39:43 +02:00
|
|
|
|
Linux Wireless Extensions; consider using @code{iw} instead. The Wireless
|
2015-01-13 11:42:24 +01:00
|
|
|
|
Extension was an interface allowing you to set Wireless LAN specific
|
|
|
|
|
parameters and get the specific stats. It is deprecated in favor the nl80211
|
|
|
|
|
interface.")
|
2020-01-18 23:46:10 +01:00
|
|
|
|
(home-page "https://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html")
|
2015-08-14 17:31:15 +02:00
|
|
|
|
;; wireless.21.h and wireless.22.h are distributed under lgpl2.1+, the
|
|
|
|
|
;; other files are distributed under gpl2.
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license (list license:gpl2 license:lgpl2.1+))))
|
2014-08-08 02:29:32 +02:00
|
|
|
|
|
2015-07-17 12:14:48 +02:00
|
|
|
|
(define-public crda
|
|
|
|
|
(package
|
|
|
|
|
(name "crda")
|
|
|
|
|
(version "3.18")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org/software/network/crda/"
|
|
|
|
|
"crda-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1gydiqgb08d9gbx4l6gv98zg3pljc984m50hmn3ysxcbkxkvkz23"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "crda-optional-gcrypt.patch"))))
|
2015-07-17 12:14:48 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-08-14 09:40:21 +02:00
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
2015-07-17 12:14:48 +02:00
|
|
|
|
(delete 'configure)
|
2018-03-25 08:17:12 +02:00
|
|
|
|
(add-after 'unpack 'gzip-determinism
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("gzip") "gzip --no-name"))
|
|
|
|
|
#t))
|
2019-08-14 09:40:21 +02:00
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'((add-after
|
|
|
|
|
'unpack 'fix-pkg-config
|
|
|
|
|
(lambda* (#:key target #:allow-other-keys)
|
|
|
|
|
(substitute*
|
|
|
|
|
"Makefile"
|
|
|
|
|
(("pkg-config")
|
|
|
|
|
(string-append target "-pkg-config")))
|
|
|
|
|
#t)))
|
|
|
|
|
'())
|
2015-07-17 12:14:48 +02:00
|
|
|
|
(add-before
|
|
|
|
|
'build 'no-werror-no-ldconfig
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("-Werror") "")
|
|
|
|
|
(("ldconfig") "true"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'set-regulator-db-file-name
|
2019-08-14 09:40:21 +02:00
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
2015-07-17 12:14:48 +02:00
|
|
|
|
;; Tell CRDA where to find our database.
|
2019-08-14 09:40:21 +02:00
|
|
|
|
(let ((regdb (assoc-ref (or native-inputs inputs)
|
|
|
|
|
"wireless-regdb")))
|
2015-07-17 12:14:48 +02:00
|
|
|
|
(substitute* "crda.c"
|
|
|
|
|
(("\"/lib/crda/regulatory.bin\"")
|
|
|
|
|
(string-append "\"" regdb
|
|
|
|
|
"/lib/crda/regulatory.bin\"")))
|
|
|
|
|
#t))))
|
|
|
|
|
#:test-target "verify"
|
2019-08-14 09:40:21 +02:00
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out"))
|
gnu: Use 'cc-for-target' instead of custom implementations.
* gnu/packages/compression.scm (ecm)[arguments]: In #:make-flags, remove
TARGET binding and use CC-FOR-TARGET instead.
* gnu/packages/linux.scm (powerstat, crda, cachefilesd)[arguments]: Likewise.
* gnu/packages/mail.scm (alpine)[arguments]: Likewise.
* gnu/packages/music.scm (lsp-plugins)[arguments]: Likewise.
* gnu/packages/radio.scm (dump1090)[arguments]: Likewise.
* gnu/packages/suckless.scm (blind, dmenu, spoon, slock, st, surf, sent,
wificurse, sbm, prout, noice, human, fortify-headers, colors, libutf,
scron)[arguments]: Likewise.
2020-05-28 18:57:46 +02:00
|
|
|
|
(regdb (assoc-ref %build-inputs "wireless-regdb")))
|
2019-08-14 09:40:21 +02:00
|
|
|
|
(list
|
gnu: Use 'cc-for-target' instead of custom implementations.
* gnu/packages/compression.scm (ecm)[arguments]: In #:make-flags, remove
TARGET binding and use CC-FOR-TARGET instead.
* gnu/packages/linux.scm (powerstat, crda, cachefilesd)[arguments]: Likewise.
* gnu/packages/mail.scm (alpine)[arguments]: Likewise.
* gnu/packages/music.scm (lsp-plugins)[arguments]: Likewise.
* gnu/packages/radio.scm (dump1090)[arguments]: Likewise.
* gnu/packages/suckless.scm (blind, dmenu, spoon, slock, st, surf, sent,
wificurse, sbm, prout, noice, human, fortify-headers, colors, libutf,
scron)[arguments]: Likewise.
2020-05-28 18:57:46 +02:00
|
|
|
|
(string-append "CC=" ,(cc-for-target))
|
2019-08-14 09:40:21 +02:00
|
|
|
|
"V=1"
|
|
|
|
|
|
|
|
|
|
;; Disable signature-checking on 'regulatory.bin'.
|
|
|
|
|
;; The reason is that this simplifies maintenance
|
|
|
|
|
;; on our side (no need to manage a distro key
|
|
|
|
|
;; pair), and we can guarantee integrity of
|
|
|
|
|
;; 'regulatory.bin' by other means anyway, such as
|
|
|
|
|
;; 'guix gc --verify'. See
|
|
|
|
|
;; <https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb>
|
|
|
|
|
;; for a discssion.
|
|
|
|
|
"USE_OPENSSL=0"
|
|
|
|
|
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "SBINDIR=" out "/sbin/")
|
|
|
|
|
(string-append "UDEV_RULE_DIR="
|
|
|
|
|
out "/lib/udev/rules.d")
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
out "/lib -L.")
|
|
|
|
|
(string-append "REG_BIN=" regdb
|
|
|
|
|
"/lib/crda/regulatory.bin")
|
|
|
|
|
"all_noverify"))))
|
2015-07-17 12:14:48 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("wireless-regdb" ,wireless-regdb)))
|
|
|
|
|
(inputs `(("libnl" ,libnl)))
|
|
|
|
|
(home-page
|
|
|
|
|
"https://wireless.wiki.kernel.org/en/developers/Regulatory/CRDA")
|
|
|
|
|
(synopsis "Central regulatory domain agent (CRDA) for WiFi")
|
|
|
|
|
(description
|
|
|
|
|
"The Central Regulatory Domain Agent (CRDA) acts as the udev helper for
|
|
|
|
|
communication between the kernel Linux and user space for regulatory
|
|
|
|
|
compliance.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:copyleft-next)))
|
2015-07-17 12:14:48 +02:00
|
|
|
|
|
2015-07-17 12:14:26 +02:00
|
|
|
|
(define-public wireless-regdb
|
|
|
|
|
(package
|
|
|
|
|
(name "wireless-regdb")
|
2020-09-01 22:24:45 +02:00
|
|
|
|
(version "2020.04.29")
|
2015-07-17 12:14:26 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://kernel.org/software/network/wireless-regdb/"
|
|
|
|
|
"wireless-regdb-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-01 22:24:45 +02:00
|
|
|
|
"0yicda474ygahv8da18h1p4yf42s6x2f208mlwcw4xsrxld07zc9"))
|
2015-12-13 15:14:06 +01:00
|
|
|
|
|
|
|
|
|
;; We're building 'regulatory.bin' by ourselves.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
(delete-file "regulatory.bin")
|
|
|
|
|
#t))))
|
2015-07-17 12:14:26 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-06-06 01:31:09 +02:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'gzip-determinism
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("gzip") "gzip --no-name"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'omit-signature
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
;; Signing requires a REGDB_PUBCERT and REGDB_PRIVKEY which we
|
|
|
|
|
;; don't provide (see below). Disable it.
|
|
|
|
|
((" regulatory\\.db\\.p7s") "")
|
|
|
|
|
;; regulatory.db is built as a dependency of regulatory.db.p7s,
|
|
|
|
|
;; but ‘make install’ depends only on the latter while installing
|
|
|
|
|
;; both (and failing). Depend on it explicitly.
|
|
|
|
|
(("^install: " all) (string-append all "regulatory.db ")))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure)) ; no configure script
|
2015-12-13 15:14:06 +01:00
|
|
|
|
|
|
|
|
|
;; The 'all' target of the makefile depends on $(REGDB_CHANGED), which
|
|
|
|
|
;; is computed and can be equal to 'maintainer-clean'; when that
|
|
|
|
|
;; happens, we can end up deleting the 'regulatory.bin' file that we
|
|
|
|
|
;; just built. Thus, build things sequentially.
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
|
2019-06-06 01:31:09 +02:00
|
|
|
|
#:tests? #f ; no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "PREFIX=" out)
|
|
|
|
|
(string-append "FIRMWARE_PATH=$(PREFIX)/lib/firmware")
|
|
|
|
|
|
|
|
|
|
;; Leave this empty so that db2bin.py doesn't try to sign
|
|
|
|
|
;; ‘regulatory.bin’. This allows us to avoid managing a key
|
|
|
|
|
;; pair for the whole distribution.
|
|
|
|
|
(string-append "REGDB_PRIVKEY=")
|
|
|
|
|
;; Don't generate a public key for the same reason. These are
|
|
|
|
|
;; used as Makefile targets and can't be the empty string.
|
|
|
|
|
(string-append "REGDB_PUBCERT=/dev/null")
|
|
|
|
|
(string-append "REGDB_PUBKEY=/dev/null")))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-wrapper)))
|
2015-07-17 12:14:26 +02:00
|
|
|
|
(home-page
|
|
|
|
|
"https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb")
|
|
|
|
|
(synopsis "Wireless regulatory database")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains the wireless regulatory database Central
|
|
|
|
|
Regulatory Database Agent (CRDA) daemon. The database contains information on
|
|
|
|
|
country-specific regulations for the wireless spectrum.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:isc)))
|
2015-07-17 12:14:26 +02:00
|
|
|
|
|
2014-08-08 02:29:32 +02:00
|
|
|
|
(define-public lm-sensors
|
|
|
|
|
(package
|
|
|
|
|
(name "lm-sensors")
|
2019-10-22 20:24:32 +02:00
|
|
|
|
(version "3.6.0")
|
2019-04-15 12:22:25 +02: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/groeck/lm-sensors")
|
2019-04-15 12:22:25 +02:00
|
|
|
|
(commit (string-append "V" (string-join
|
|
|
|
|
(string-split version #\.) "-")))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-10-22 20:24:32 +02:00
|
|
|
|
(base32 "1ipf6wjx037sqyhy0r5jh4983h216anq9l68ckn2x5c3qc4wfmzn"))
|
2019-04-15 12:22:25 +02:00
|
|
|
|
(patches (search-patches "lm-sensors-hwmon-attrs.patch"))))
|
2014-08-08 02:29:32 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("rrdtool" ,rrdtool)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("kmod" ,kmod)
|
|
|
|
|
("gnuplot" ,gnuplot)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("which" ,which)))
|
2019-10-22 20:24:32 +02:00
|
|
|
|
(outputs '("lib" ; avoid perl in closure
|
2017-09-25 12:42:07 +02:00
|
|
|
|
"out"))
|
2014-08-08 02:29:32 +02:00
|
|
|
|
(arguments
|
2019-10-22 20:24:32 +02:00
|
|
|
|
`(#:tests? #f ; no 'check' target
|
2014-08-08 02:29:32 +02:00
|
|
|
|
#:make-flags (list (string-append "PREFIX=" %output)
|
2017-09-25 12:42:07 +02:00
|
|
|
|
(string-append "ETCDIR=" (assoc-ref %outputs "lib") "/etc")
|
|
|
|
|
(string-append "INCLUDEDIR="
|
|
|
|
|
(assoc-ref %outputs "lib") "/include")
|
|
|
|
|
(string-append "MANDIR=" %output "/share/man")
|
|
|
|
|
(string-append "LIBDIR=" (assoc-ref %outputs "lib") "/lib"))
|
2014-08-08 02:29:32 +02:00
|
|
|
|
#:phases
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'patch-exec-paths
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "prog/detect/sensors-detect"
|
|
|
|
|
(("`uname")
|
|
|
|
|
(string-append "`" (assoc-ref inputs "coreutils")
|
|
|
|
|
"/bin/uname"))
|
|
|
|
|
(("(`|\")modprobe" all open-quote)
|
|
|
|
|
(string-append open-quote
|
|
|
|
|
(assoc-ref inputs "kmod")
|
|
|
|
|
"/bin/modprobe")))
|
|
|
|
|
(substitute* '("prog/pwm/pwmconfig"
|
|
|
|
|
"prog/pwm/fancontrol")
|
|
|
|
|
(("gnuplot")
|
|
|
|
|
(string-append (assoc-ref inputs "gnuplot")
|
|
|
|
|
"/bin/gnuplot"))
|
|
|
|
|
(("cat ")
|
|
|
|
|
(string-append (assoc-ref inputs "coreutils")
|
|
|
|
|
"/bin/cat "))
|
2020-05-17 14:46:25 +02:00
|
|
|
|
(("e?grep " match)
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
(string-append (assoc-ref inputs "grep")
|
2020-05-17 14:46:25 +02:00
|
|
|
|
"/bin/" match))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
(("sed -e")
|
|
|
|
|
(string-append (assoc-ref inputs "sed")
|
|
|
|
|
"/bin/sed -e"))
|
|
|
|
|
(("cut -d")
|
|
|
|
|
(string-append (assoc-ref inputs "coreutils")
|
|
|
|
|
"/bin/cut -d"))
|
|
|
|
|
(("sleep ")
|
|
|
|
|
(string-append (assoc-ref inputs "coreutils")
|
|
|
|
|
"/bin/sleep "))
|
|
|
|
|
(("readlink -f")
|
|
|
|
|
(string-append (assoc-ref inputs "coreutils")
|
|
|
|
|
"/bin/readlink -f")))
|
|
|
|
|
#t)))))
|
2019-04-15 19:42:58 +02:00
|
|
|
|
(home-page "https://hwmon.wiki.kernel.org/lm_sensors")
|
2014-08-08 02:29:32 +02:00
|
|
|
|
(synopsis "Utilities to read temperature/voltage/fan sensors")
|
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
"Lm-sensors is a hardware health monitoring package for Linux. It allows
|
2014-08-08 02:29:32 +02:00
|
|
|
|
you to access information from temperature, voltage, and fan speed sensors.
|
|
|
|
|
It works with most newer systems.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2014-08-08 02:35:10 +02:00
|
|
|
|
|
2018-01-05 17:51:43 +01:00
|
|
|
|
(define-public iucode-tool
|
|
|
|
|
(package
|
|
|
|
|
(name "iucode-tool")
|
2019-03-05 13:42:45 +01:00
|
|
|
|
(version "2.3.1")
|
2018-01-05 17:51:43 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://gitlab.com/iucode-tool/releases"
|
|
|
|
|
"/raw/latest/iucode-tool_" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-05 13:42:45 +01:00
|
|
|
|
"159gvf6ljgg3g4vlhyy6pyr0wz11rcyhp985vc4az58d9px8xf0j"))))
|
2018-01-05 17:51:43 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://gitlab.com/iucode-tool/iucode-tool/wikis/home")
|
|
|
|
|
(synopsis "Manipulate Intel microcode bundles")
|
|
|
|
|
(description
|
|
|
|
|
"@command{iucode_tool} is a utility to work with microcode packages for
|
|
|
|
|
Intel processors. It can convert between formats, extract specific versions,
|
|
|
|
|
create a firmware image suitable for the Linux kernel, and more.")
|
2018-01-09 21:46:04 +01:00
|
|
|
|
;; cpuid.h is available for i686, x86_64, and ia64.
|
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
2018-01-05 17:51:43 +01:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-02-21 19:22:23 +01:00
|
|
|
|
(define-public i2c-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "i2c-tools")
|
|
|
|
|
(version "3.1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-01-08 22:29:57 +01:00
|
|
|
|
"http://jdelvare.nerim.net/mirror/i2c-tools/i2c-tools-"
|
2015-02-21 19:22:23 +01:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"000pvg995qy1b15ks59gd0klri55hb33kqpg5czy84hw1pbdgm0l"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-06-03 01:26:13 +02:00
|
|
|
|
`(#:tests? #f ; no 'check' target
|
2015-02-21 19:22:23 +01:00
|
|
|
|
#:make-flags (list (string-append "prefix=" %output)
|
2020-06-03 01:26:13 +02:00
|
|
|
|
,(string-append "CC=" (cc-for-target)))
|
|
|
|
|
;; No configure script.
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
#:phases (modify-phases %standard-phases (delete 'configure))))
|
2015-02-22 18:50:13 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)))
|
2016-01-08 22:29:57 +01:00
|
|
|
|
(home-page "http://jdelvare.nerim.net/devel.html#i2ctools")
|
2015-02-21 19:22:23 +01:00
|
|
|
|
(synopsis "I2C tools for Linux")
|
|
|
|
|
(description
|
|
|
|
|
"The i2c-tools package contains a heterogeneous set of I2C tools for
|
|
|
|
|
Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers,
|
|
|
|
|
EEPROM decoding scripts, EEPROM programming tools, and a python module for
|
|
|
|
|
SMBus access.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2015-02-21 19:22:23 +01:00
|
|
|
|
|
2014-08-08 02:35:10 +02:00
|
|
|
|
(define-public xsensors
|
|
|
|
|
(package
|
|
|
|
|
(name "xsensors")
|
|
|
|
|
(version "0.70")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.linuxhardware.org/xsensors/xsensors-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1siplsfgvcxamyqf44h71jx6jdfmvhfm7mh0y1q8ps4zs6pj2zwh"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-09-25 12:42:07 +02:00
|
|
|
|
(inputs `(("lm-sensors" ,lm-sensors "lib")
|
2014-08-08 02:35:10 +02:00
|
|
|
|
("gtk" ,gtk+-2)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'enable-deprecated
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/Makefile.in"
|
|
|
|
|
(("-DGDK_DISABLE_DEPRECATED") "")
|
|
|
|
|
(("-DGTK_DISABLE_DEPRECATED") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'remove-Werror
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("configure" "src/Makefile.in")
|
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
#t)))))
|
2014-08-08 02:35:10 +02:00
|
|
|
|
(home-page "http://www.linuxhardware.org/xsensors/")
|
|
|
|
|
(synopsis "Hardware health information viewer")
|
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
"Xsensors reads data from the libsensors library regarding hardware
|
2014-08-08 02:35:10 +02:00
|
|
|
|
health such as temperature, voltage and fan speed and displays the information
|
|
|
|
|
in a digital read-out.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2014-09-30 15:56:47 +02:00
|
|
|
|
|
|
|
|
|
(define-public perf
|
|
|
|
|
(package
|
|
|
|
|
(name "perf")
|
|
|
|
|
(version (package-version linux-libre))
|
2018-08-22 16:45:17 +02:00
|
|
|
|
(source (package-source linux-libre))
|
2014-09-30 15:56:47 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "SHELL_PATH" (which "bash"))
|
|
|
|
|
(chdir "tools/perf")
|
|
|
|
|
#t)))
|
2017-10-17 13:17:54 +02:00
|
|
|
|
#:make-flags (list (string-append "prefix="
|
2014-09-30 15:56:47 +02:00
|
|
|
|
(assoc-ref %outputs "out"))
|
2020-06-12 22:55:52 +02:00
|
|
|
|
"CC=gcc"
|
2015-01-21 15:04:09 +01:00
|
|
|
|
"WERROR=0"
|
|
|
|
|
|
|
|
|
|
;; By default, 'config/Makefile' uses lib64 on
|
|
|
|
|
;; x86_64. Work around that.
|
|
|
|
|
"lib=lib")
|
2014-09-30 15:56:47 +02:00
|
|
|
|
#:tests? #f)) ;no tests
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
|
|
|
|
|
;; There are build scripts written in these languages.
|
|
|
|
|
("perl" ,perl)
|
2020-08-06 01:39:44 +02:00
|
|
|
|
("python2" ,python-2)
|
|
|
|
|
("python3" ,python-3)))
|
2014-09-30 15:56:47 +02:00
|
|
|
|
(inputs
|
2015-01-21 14:54:56 +01:00
|
|
|
|
`(("slang" ,slang) ;for the interactive TUI
|
2014-09-30 15:56:47 +02:00
|
|
|
|
;; ("newt" ,newt)
|
2015-01-21 13:50:07 +01:00
|
|
|
|
("python" ,python-2) ;'perf' links against libpython
|
2014-09-30 15:56:47 +02:00
|
|
|
|
("elfutils" ,elfutils)
|
2017-04-07 16:36:43 +02:00
|
|
|
|
("libiberty" ,libiberty) ;used alongside BDF for symbol demangling
|
2017-10-17 11:30:31 +02:00
|
|
|
|
("libunwind" ,libunwind) ;better stack walking
|
|
|
|
|
("numactl" ,numactl) ;for 'perf bench numa mem'
|
2014-09-30 15:56:47 +02:00
|
|
|
|
|
2015-01-21 14:18:44 +01:00
|
|
|
|
;; Documentation.
|
|
|
|
|
("libxml2" ,libxml2) ;for $XML_CATALOG_FILES
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("xmlto" ,xmlto)
|
|
|
|
|
("asciidoc" ,asciidoc)))
|
2014-09-30 15:56:47 +02:00
|
|
|
|
(home-page "https://perf.wiki.kernel.org/")
|
|
|
|
|
(synopsis "Linux profiling with performance counters")
|
|
|
|
|
(description
|
|
|
|
|
"perf is a tool suite for profiling using hardware performance counters,
|
|
|
|
|
with support in the Linux kernel. perf can instrument CPU performance
|
|
|
|
|
counters, tracepoints, kprobes, and uprobes (dynamic tracing). It is capable
|
|
|
|
|
of lightweight profiling. This package contains the user-land tools and in
|
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 15:39:43 +02:00
|
|
|
|
particular the @code{perf} command.")
|
2014-09-30 15:56:47 +02:00
|
|
|
|
(license (package-license linux-libre))))
|
2014-11-21 04:31:56 +01:00
|
|
|
|
|
|
|
|
|
(define-public pflask
|
|
|
|
|
(package
|
|
|
|
|
(name "pflask")
|
|
|
|
|
(version "0.2")
|
|
|
|
|
(source (origin
|
2020-06-24 09:27:58 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ghedo/pflask")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-11-21 04:31:56 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-24 09:27:58 +02:00
|
|
|
|
"1jikjbhlxlqracnai3v9krzcgd2xwp0p4adw5n07yxc7b857damz"))))
|
2014-11-21 04:31:56 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; no tests
|
2018-01-15 07:29:02 +01:00
|
|
|
|
(home-page "https://ghedo.github.io/pflask/")
|
2014-11-21 04:31:56 +01:00
|
|
|
|
(synopsis "Simple tool for creating Linux namespace containers")
|
|
|
|
|
(description "pflask is a simple tool for creating Linux namespace
|
|
|
|
|
containers. It can be used for running a command or even booting an OS inside
|
|
|
|
|
an isolated container, created with the help of Linux namespaces. It is
|
|
|
|
|
similar in functionality to chroot, although pflask provides better isolation
|
|
|
|
|
thanks to the use of namespaces.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:bsd-2)))
|
2015-02-02 18:12:52 +01:00
|
|
|
|
|
2018-05-25 16:17:51 +02:00
|
|
|
|
(define-public singularity
|
|
|
|
|
(package
|
|
|
|
|
(name "singularity")
|
2018-12-13 21:43:20 +01:00
|
|
|
|
(version "2.6.1")
|
2018-05-25 16:17:51 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/singularityware/singularity/"
|
|
|
|
|
"releases/download/" version
|
|
|
|
|
"/singularity-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-05 18:32:30 +01:00
|
|
|
|
"1whx0hqqi1326scgdxxxa1d94vn95mnq0drid6s8wdp84ni4d3gk"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Do not create directories in /var.
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("\\$\\(MAKE\\) .*install-data-hook") ""))
|
2019-03-05 18:38:11 +01:00
|
|
|
|
|
|
|
|
|
;; The original source overrides PATH so that it points to
|
|
|
|
|
;; /bin, /usr/local/bin, etc., which obviously doesn't work
|
|
|
|
|
;; on Guix System. Leave PATH unchanged so we refer to the
|
|
|
|
|
;; installed Coreutils, grep, etc.
|
|
|
|
|
(substitute* "bin/singularity.in"
|
|
|
|
|
(("^PATH=.*" all)
|
|
|
|
|
(string-append "#" all "\n")))
|
2019-06-04 22:29:40 +02:00
|
|
|
|
|
|
|
|
|
(substitute* (find-files "libexec/cli" "\\.exec$")
|
|
|
|
|
(("\\$SINGULARITY_libexecdir/singularity/bin/([a-z]+)-suid"
|
|
|
|
|
_ program)
|
|
|
|
|
(string-append "/run/setuid-programs/singularity-"
|
|
|
|
|
program "-helper")))
|
2020-03-12 16:38:44 +01:00
|
|
|
|
|
|
|
|
|
;; These squashfs mount options are apparently no longer
|
|
|
|
|
;; supported since Linux-libre 5.4.5.
|
|
|
|
|
(substitute* "src/lib/image/squashfs/mount.c"
|
|
|
|
|
(("\"errors=remount-ro\"")
|
|
|
|
|
"NULL"))
|
2019-03-05 18:32:30 +01:00
|
|
|
|
#t))))
|
2018-05-25 16:17:51 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-06-04 22:29:40 +02:00
|
|
|
|
`(#:configure-flags '("--localstatedir=/var")
|
2018-05-25 16:17:51 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-07-14 02:00:25 +02:00
|
|
|
|
(add-after 'unpack 'patch-references
|
2018-05-25 16:17:51 +02:00
|
|
|
|
(lambda _
|
2020-12-10 13:22:20 +01:00
|
|
|
|
(substitute* "libexec/cli/build.exec.in"
|
|
|
|
|
(("-mksquashfs") (string-append "-" (which "mksquashfs"))))
|
|
|
|
|
(substitute* (append
|
|
|
|
|
(find-files "libexec" "functions")
|
|
|
|
|
(find-files "libexec/bootstrap-scripts" ".*sh$")
|
|
|
|
|
(find-files "libexec/cli" ".*exec$"))
|
2020-08-14 15:32:23 +02:00
|
|
|
|
(("\\| grep ")
|
|
|
|
|
(string-append "| " (which "grep") " "))
|
2020-07-14 02:00:25 +02:00
|
|
|
|
(("egrep ")
|
2020-12-10 13:22:20 +01:00
|
|
|
|
(string-append (which "egrep") " "))
|
|
|
|
|
((" sed ")
|
|
|
|
|
(string-append " " (which "sed") " ")))
|
2020-03-12 15:44:26 +01:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'set-PATH
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; Have the 'singularity' and 'run-singularity' self-sufficient.
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(coreutils (assoc-ref inputs "coreutils")))
|
|
|
|
|
(wrap-program (string-append out "/bin/singularity")
|
|
|
|
|
`("PATH" ":" = (,(string-append coreutils "/bin"))))
|
|
|
|
|
(substitute* (string-append out "/bin/run-singularity")
|
|
|
|
|
(("/usr/bin/env singularity")
|
|
|
|
|
(string-append (which "env") " "
|
|
|
|
|
out "/bin/singularity")))
|
|
|
|
|
#t))))))
|
2018-05-25 16:17:51 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libarchive" ,libarchive)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("squashfs-tools" ,squashfs-tools)))
|
|
|
|
|
(home-page "https://singularity.lbl.gov/")
|
|
|
|
|
(synopsis "Container platform")
|
|
|
|
|
(description "Singularity is a container platform supporting a number of
|
|
|
|
|
container image formats. It can build SquashFS container images or import
|
|
|
|
|
existing Docker images. Singularity requires kernel support for container
|
|
|
|
|
isolation or root privileges.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2015-02-02 18:12:52 +01:00
|
|
|
|
(define-public hdparm
|
|
|
|
|
(package
|
|
|
|
|
(name "hdparm")
|
2020-11-23 01:15:26 +01:00
|
|
|
|
(version "9.60")
|
2015-02-02 18:12:52 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-02-24 21:16:11 +01:00
|
|
|
|
(uri (string-append "mirror://sourceforge/hdparm/hdparm/"
|
|
|
|
|
"hdparm-" version ".tar.gz"))
|
2015-02-02 18:12:52 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-23 01:15:26 +01:00
|
|
|
|
"1k1mcv7naiacw1y6bdd1adnjfiq1kkx2ivsadjwmlkg4fff775w3"))))
|
2015-02-02 18:12:52 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-06-03 01:38:11 +02:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "binprefix=" out)
|
|
|
|
|
(string-append "manprefix=" out)
|
|
|
|
|
,(string-append "CC=" (cc-for-target))
|
|
|
|
|
;; Let Guix strip the binaries and not break cross-compilation.
|
|
|
|
|
"STRIP=true"))
|
2017-03-31 00:30:16 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:tests? #f)) ; no test suite
|
gnu: Use HTTPS for all sourceforge.net home pages.
* gnu/packages/admin.scm (mingetty, clusterssh)[home-page]: Use HTTPS.
* gnu/packages/audio.scm (libbs2b, soxr)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[home-page]: Likewise.
* gnu/packages/display-managers.scm (slim)[home-page]: Likewise.
* gnu/packages/games.scm (extremetuxracer)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (gs-fonts)[home-page]: Likewise.
* gnu/packages/haskell.scm (ghc-regex-base, ghc-regex-posix,
ghc-regex-compat)[home-page]: Likewise.
* gnu/packages/image.scm (imlib2)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (librevenge, libcmis, libodfgen, libmwaw)
[home-page]: Likewise.
* gnu/packages/linux.scm (hdparm, acpid, libavc1394, rng-tools)
[home-page]: Likewise.
* gnu/packages/mail.scm (esmtp)[home-page]: Likewise.
* gnu/packages/mp3.scm (ripperx)[home-page]: Likewise.
* gnu/packages/onc-rpc.scm (libtirpc)[home-page]: Likewise.
* gnu/packages/perl.scm (perl-czplib)[home-page]: Likewise.
* gnu/packages/python.scm (python-pyasn1-modules)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xosd)[home-page]: Likewise.
2017-01-04 01:30:46 +01:00
|
|
|
|
(home-page "https://sourceforge.net/projects/hdparm/")
|
2017-03-31 01:25:03 +02:00
|
|
|
|
(synopsis "View and tune ATA disk drive parameters")
|
2015-02-02 18:12:52 +01:00
|
|
|
|
(description
|
2017-03-31 01:25:03 +02:00
|
|
|
|
"@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
|
2018-01-05 11:14:21 +01:00
|
|
|
|
IDE driver subsystem. Many external USB drive enclosures with SCSI-ATA Command
|
|
|
|
|
Translation (@dfn{SAT}) are also supported.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license (license:non-copyleft "file://LICENSE.TXT"))))
|
2015-02-02 18:12:52 +01:00
|
|
|
|
|
2020-03-12 01:51:12 +01:00
|
|
|
|
(define-public nvme-cli
|
|
|
|
|
(package
|
|
|
|
|
(name "nvme-cli")
|
2020-11-01 16:35:04 +01:00
|
|
|
|
(version "1.13")
|
2020-03-12 01:51:12 +01:00
|
|
|
|
(home-page "https://github.com/linux-nvme/nvme-cli")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
2020-11-01 16:35:04 +01:00
|
|
|
|
(base32 "1d538kp841bjh8h8d9q7inqz56rdcwb3m78zfx8607ddykv7wcqb"))
|
2020-03-12 01:51:12 +01:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-06-02 19:17:16 +02:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list ,(string-append "CC=" (cc-for-target)))
|
2020-03-12 01:51:12 +01:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
2020-06-02 19:17:16 +02:00
|
|
|
|
(delete 'configure) ; no ./configure script
|
2020-03-12 01:51:12 +01:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "install-spec" "PREFIX="
|
|
|
|
|
(string-append "DESTDIR=" %output)))))
|
2020-06-02 19:17:16 +02:00
|
|
|
|
;; The tests require sysfs, which is not accessible from from the build
|
|
|
|
|
;; environment
|
|
|
|
|
#:tests? #f))
|
2020-03-12 01:51:12 +01:00
|
|
|
|
(synopsis "NVM-Express user space tooling for Linux")
|
|
|
|
|
(description "Nvme-cli is a utility to provide standards compliant tooling
|
|
|
|
|
for NVM-Express drives. It was made specifically for Linux as it relies on the
|
|
|
|
|
IOCTLs defined by the mainline kernel driver.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-08-12 16:36:50 +02:00
|
|
|
|
(define-public rfkill
|
|
|
|
|
(package
|
|
|
|
|
(name "rfkill")
|
|
|
|
|
(version "0.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org/software/network/"
|
|
|
|
|
name "/" name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0snqj5h0y991lszbigbyyqb8swj0hxajc1vfqg2scfay44231bp0"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "https://wireless.wiki.kernel.org/en/users/Documentation/rfkill")
|
|
|
|
|
(synopsis "Tool for enabling and disabling wireless devices")
|
|
|
|
|
(description
|
|
|
|
|
"rfkill is a simple tool for accessing the rfkill device interface,
|
|
|
|
|
which is used to enable and disable wireless networking devices, typically
|
|
|
|
|
WLAN, Bluetooth and mobile broadband.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license (license:non-copyleft "file://COPYING"
|
2017-11-02 21:43:09 +01:00
|
|
|
|
"See COPYING in the distribution."))
|
|
|
|
|
;; rfkill is part of util-linux as of 2.31.
|
|
|
|
|
(properties `((superseded . ,util-linux)))))
|
2015-08-12 16:36:50 +02:00
|
|
|
|
|
2016-04-18 21:36:42 +02:00
|
|
|
|
(define-public acpi
|
|
|
|
|
(package
|
|
|
|
|
(name "acpi")
|
|
|
|
|
(version "1.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-01-15 07:29:02 +01:00
|
|
|
|
(uri (string-append "mirror://sourceforge/acpiclient/acpiclient/"
|
2016-07-21 08:35:30 +02:00
|
|
|
|
version "/" name "-" version ".tar.gz"))
|
2016-04-18 21:36:42 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"01ahldvf0gc29dmbd5zi4rrnrw2i1ajnf30sx2vyaski3jv099fp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://acpiclient.sourceforge.net")
|
|
|
|
|
(synopsis "Display information on ACPI devices")
|
|
|
|
|
(description "@code{acpi} attempts to replicate the functionality of the
|
|
|
|
|
\"old\" @code{apm} command on ACPI systems, including battery and thermal
|
|
|
|
|
information. It does not support ACPI suspending, only displays information
|
|
|
|
|
about ACPI devices.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-02-13 11:24:00 +01:00
|
|
|
|
(define-public acpid
|
|
|
|
|
(package
|
|
|
|
|
(name "acpid")
|
2019-09-22 21:42:40 +02:00
|
|
|
|
(version "2.0.32")
|
2015-02-13 11:24:00 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/acpid2/acpid-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-22 21:42:40 +02:00
|
|
|
|
"0zhmxnhnhg4v1viw82yjr22kram6k5k1ixznhayk8cnw7q5x7lpj"))))
|
2015-02-13 11:24:00 +01:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Use HTTPS for all sourceforge.net home pages.
* gnu/packages/admin.scm (mingetty, clusterssh)[home-page]: Use HTTPS.
* gnu/packages/audio.scm (libbs2b, soxr)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[home-page]: Likewise.
* gnu/packages/display-managers.scm (slim)[home-page]: Likewise.
* gnu/packages/games.scm (extremetuxracer)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (gs-fonts)[home-page]: Likewise.
* gnu/packages/haskell.scm (ghc-regex-base, ghc-regex-posix,
ghc-regex-compat)[home-page]: Likewise.
* gnu/packages/image.scm (imlib2)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (librevenge, libcmis, libodfgen, libmwaw)
[home-page]: Likewise.
* gnu/packages/linux.scm (hdparm, acpid, libavc1394, rng-tools)
[home-page]: Likewise.
* gnu/packages/mail.scm (esmtp)[home-page]: Likewise.
* gnu/packages/mp3.scm (ripperx)[home-page]: Likewise.
* gnu/packages/onc-rpc.scm (libtirpc)[home-page]: Likewise.
* gnu/packages/perl.scm (perl-czplib)[home-page]: Likewise.
* gnu/packages/python.scm (python-pyasn1-modules)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xosd)[home-page]: Likewise.
2017-01-04 01:30:46 +01:00
|
|
|
|
(home-page "https://sourceforge.net/projects/acpid2/")
|
2015-02-13 11:24:00 +01:00
|
|
|
|
(synopsis "Daemon for delivering ACPI events to user-space programs")
|
|
|
|
|
(description
|
|
|
|
|
"acpid is designed to notify user-space programs of Advanced
|
|
|
|
|
Configuration and Power Interface (ACPI) events. acpid should be started
|
|
|
|
|
during the system boot, and will run as a background process. When an ACPI
|
|
|
|
|
event is received from the kernel, acpid will examine the list of rules
|
|
|
|
|
specified in /etc/acpi/events and execute the rules that match the event.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2015-02-18 21:20:38 +01:00
|
|
|
|
|
|
|
|
|
(define-public sysfsutils
|
|
|
|
|
(package
|
|
|
|
|
(name "sysfsutils")
|
|
|
|
|
(version "2.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
|
|
|
|
"mirror://sourceforge/linux-diag/sysfsutils/" version "/sysfsutils-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "12i0ip11xbfcjzxz4r10cvz7mbzgq1hfcdn97w6zz7sm3wndwrg8"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://linux-diag.sourceforge.net/Sysfsutils.html")
|
|
|
|
|
(synopsis "System utilities based on Linux sysfs")
|
|
|
|
|
(description
|
2016-09-16 08:08:48 +02:00
|
|
|
|
"These are a set of utilities built upon sysfs, a virtual file system in
|
2015-02-18 21:20:38 +01:00
|
|
|
|
Linux kernel versions 2.5+ that exposes a system's device tree. The package
|
|
|
|
|
also contains the libsysfs library.")
|
|
|
|
|
;; The library is under lgpl2.1+ (all files say "or any later version").
|
|
|
|
|
;; The rest is mostly gpl2, with a few files indicating gpl2+.
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license (list license:gpl2 license:gpl2+ license:lgpl2.1+))))
|
2015-02-18 22:17:01 +01:00
|
|
|
|
|
|
|
|
|
(define-public sysfsutils-1
|
|
|
|
|
(package
|
|
|
|
|
(inherit sysfsutils)
|
|
|
|
|
(version "1.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
|
|
|
|
"mirror://sourceforge/linux-diag/sysfsutils/sysfsutils-" version
|
|
|
|
|
"/sysfsutils-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0kdhs07fm8263pxwd5blwn2x211cg4fk63fyf9ijcdkvzmwxrqq3"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("includedir = /usr/include/sysfs")
|
|
|
|
|
"includedir = @includedir@"))
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("includedir='(\\$\\{prefix\\}/include)'" all orig)
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(string-append "includedir='" orig "/sysfs'")))
|
|
|
|
|
#t))))
|
2015-02-18 22:17:01 +01:00
|
|
|
|
(synopsis "System utilities based on Linux sysfs (version 1.x)")))
|
2015-02-18 21:20:57 +01:00
|
|
|
|
|
|
|
|
|
(define-public cpufrequtils
|
|
|
|
|
(package
|
|
|
|
|
(name "cpufrequtils")
|
|
|
|
|
(version "0.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-05-09 14:06:07 +02:00
|
|
|
|
(uri (string-append "mirror://kernel.org/linux/utils/kernel/cpufreq/"
|
|
|
|
|
"cpufrequtils-" version ".tar.gz"))
|
2015-02-18 21:20:57 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0qfqv7nqmjfr3p0bwrdlxkiqwqr7vmx053cadaa548ybqbghxmvm"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "cpufrequtils-fix-aclocal.patch"))))
|
2015-02-18 21:20:57 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("sysfsutils" ,sysfsutils-1)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))))
|
|
|
|
|
(home-page "https://www.kernel.org/pub/linux/utils/kernel/cpufreq/")
|
|
|
|
|
(synopsis "Utilities to get and set CPU frequency on Linux")
|
|
|
|
|
(description
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
|
"The cpufrequtils suite contains utilities to retrieve CPU frequency
|
2015-02-18 21:20:57 +01:00
|
|
|
|
information, and set the CPU frequency if supported, using the cpufreq
|
|
|
|
|
capabilities of the Linux kernel.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2)))
|
2015-04-04 10:00:05 +02:00
|
|
|
|
|
|
|
|
|
(define-public libraw1394
|
|
|
|
|
(package
|
|
|
|
|
(name "libraw1394")
|
2016-12-15 23:47:40 +01:00
|
|
|
|
(version "2.1.2")
|
2015-04-04 10:00:05 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://kernel.org/linux/libs/ieee1394/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-15 23:47:40 +01:00
|
|
|
|
"0pm5b415j1qdzyw38wdv8h7ff4yx20831z1727mpsb6jc6bwdk03"))))
|
2015-04-04 10:00:05 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://ieee1394.wiki.kernel.org/index.php/Main_Page")
|
|
|
|
|
(synopsis "Interface library for the Linux IEEE1394 drivers")
|
|
|
|
|
(description
|
|
|
|
|
"Libraw1394 is the only supported interface to the kernel side raw1394 of
|
|
|
|
|
the Linux IEEE-1394 subsystem, which provides direct access to the connected
|
|
|
|
|
1394 buses to user space. Through libraw1394/raw1394, applications can directly
|
|
|
|
|
send to and receive from other nodes without requiring a kernel driver for the
|
|
|
|
|
protocol in question.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-04-04 10:19:18 +02:00
|
|
|
|
|
|
|
|
|
(define-public libavc1394
|
|
|
|
|
(package
|
|
|
|
|
(name "libavc1394")
|
|
|
|
|
(version "0.5.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 08:35:30 +02:00
|
|
|
|
(uri (string-append "mirror://sourceforge/libavc1394/libavc1394/"
|
2015-04-04 10:19:18 +02:00
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0lsv46jdqvdx5hx92v0z2cz3yh6212pz9gk0k3513sbaa04zzcbw"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libraw1394" ,libraw1394))) ; required by libavc1394.pc
|
gnu: Use HTTPS for all sourceforge.net home pages.
* gnu/packages/admin.scm (mingetty, clusterssh)[home-page]: Use HTTPS.
* gnu/packages/audio.scm (libbs2b, soxr)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[home-page]: Likewise.
* gnu/packages/display-managers.scm (slim)[home-page]: Likewise.
* gnu/packages/games.scm (extremetuxracer)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (gs-fonts)[home-page]: Likewise.
* gnu/packages/haskell.scm (ghc-regex-base, ghc-regex-posix,
ghc-regex-compat)[home-page]: Likewise.
* gnu/packages/image.scm (imlib2)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (librevenge, libcmis, libodfgen, libmwaw)
[home-page]: Likewise.
* gnu/packages/linux.scm (hdparm, acpid, libavc1394, rng-tools)
[home-page]: Likewise.
* gnu/packages/mail.scm (esmtp)[home-page]: Likewise.
* gnu/packages/mp3.scm (ripperx)[home-page]: Likewise.
* gnu/packages/onc-rpc.scm (libtirpc)[home-page]: Likewise.
* gnu/packages/perl.scm (perl-czplib)[home-page]: Likewise.
* gnu/packages/python.scm (python-pyasn1-modules)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xosd)[home-page]: Likewise.
2017-01-04 01:30:46 +01:00
|
|
|
|
(home-page "https://sourceforge.net/projects/libavc1394/")
|
2015-04-04 10:19:18 +02:00
|
|
|
|
(synopsis "AV/C protocol library for IEEE 1394")
|
|
|
|
|
(description
|
|
|
|
|
"Libavc1394 is a programming interface to the AV/C specification from
|
2015-07-23 09:40:05 +02:00
|
|
|
|
the 1394 Trade Association. AV/C stands for Audio/Video Control.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-04-07 07:22:40 +02:00
|
|
|
|
|
|
|
|
|
(define-public libiec61883
|
|
|
|
|
(package
|
|
|
|
|
(name "libiec61883")
|
|
|
|
|
(version "1.2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://kernel.org/linux/libs/ieee1394/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17ph458zya2l8dr2xwqnzy195qd9swrir31g78qkgb3g4xz2rq6i"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libraw1394" ,libraw1394))) ; required by libiec61883.pc
|
|
|
|
|
(home-page "https://ieee1394.wiki.kernel.org/index.php/Main_Page")
|
|
|
|
|
(synopsis "Isochronous streaming media library for IEEE 1394")
|
|
|
|
|
(description
|
|
|
|
|
"The libiec61883 library provides a higher level API for streaming DV,
|
|
|
|
|
MPEG-2 and audio over Linux IEEE 1394.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-04-09 03:00:32 +02:00
|
|
|
|
|
|
|
|
|
(define-public mdadm
|
|
|
|
|
(package
|
|
|
|
|
(name "mdadm")
|
2018-11-10 16:24:30 +01:00
|
|
|
|
(version "4.1")
|
2015-04-09 03:00:32 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://kernel.org/linux/utils/raid/mdadm/mdadm-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-10 16:24:30 +01:00
|
|
|
|
"0jjgjgqijpdp7ijh8slzzjjw690kydb1jjadf0x5ilq85628hxmb"))))
|
2015-04-09 03:00:32 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("udev" ,eudev)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (let ((out (assoc-ref %outputs "out")))
|
2020-06-03 01:42:43 +02:00
|
|
|
|
(list ,(string-append "CC=" (cc-for-target))
|
2017-01-31 23:48:59 +01:00
|
|
|
|
"INSTALL=install"
|
2015-04-09 03:00:32 +02:00
|
|
|
|
"CHECK_RUN_DIR=0"
|
|
|
|
|
;; TODO: tell it where to find 'sendmail'
|
|
|
|
|
;; (string-append "MAILCMD=" <???> "/sbin/sendmail")
|
|
|
|
|
(string-append "BINDIR=" out "/sbin")
|
|
|
|
|
(string-append "MANDIR=" out "/share/man")
|
|
|
|
|
(string-append "UDEVDIR=" out "/lib/udev")))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'patch-program-paths
|
2019-08-18 13:01:17 +02:00
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
|
|
|
|
(let ((coreutils (assoc-ref (or native-inputs inputs)
|
|
|
|
|
"coreutils")))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
(substitute* "udev-md-raid-arrays.rules"
|
|
|
|
|
(("/usr/bin/(readlink|basename)" all program)
|
|
|
|
|
(string-append coreutils "/bin/" program))))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'remove-W-error
|
|
|
|
|
(lambda _
|
|
|
|
|
;; We cannot build with -Werror on i686 due to a
|
|
|
|
|
;; 'sign-compare' warning in util.c.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure))
|
2015-04-09 03:00:32 +02:00
|
|
|
|
;;tests must be done as root
|
|
|
|
|
#:tests? #f))
|
2020-03-11 00:33:24 +01:00
|
|
|
|
(supported-systems (delete "i586-gnu" %supported-systems))
|
2015-04-09 03:00:32 +02:00
|
|
|
|
(home-page "http://neil.brown.name/blog/mdadm")
|
|
|
|
|
(synopsis "Tool for managing Linux Software RAID arrays")
|
|
|
|
|
(description
|
|
|
|
|
"mdadm is a tool for managing Linux Software RAID arrays. It can create,
|
|
|
|
|
assemble, report on, and monitor arrays. It can also move spares between raid
|
|
|
|
|
arrays when needed.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2015-04-16 10:47:44 +02:00
|
|
|
|
|
2016-10-27 11:18:53 +02:00
|
|
|
|
(define-public mdadm-static
|
|
|
|
|
(package
|
|
|
|
|
(inherit mdadm)
|
|
|
|
|
(name "mdadm-static")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments mdadm)
|
|
|
|
|
((#:make-flags flags)
|
|
|
|
|
`(cons "LDFLAGS = -static" ,flags))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'install 'remove-cruft
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(precious? (lambda (file)
|
|
|
|
|
(member file '("." ".." "sbin"))))
|
|
|
|
|
(directories (scandir out (negate precious?))))
|
|
|
|
|
(with-directory-excursion out
|
|
|
|
|
(for-each delete-file-recursively directories)
|
|
|
|
|
(remove-store-references "sbin/mdadm")
|
|
|
|
|
(delete-file "sbin/mdmon")
|
|
|
|
|
#t))))))
|
|
|
|
|
((#:modules modules %gnu-build-system-modules)
|
|
|
|
|
`((ice-9 ftw) ,@modules))
|
|
|
|
|
((#:strip-flags _ '())
|
|
|
|
|
''("--strip-all")) ;strip a few extra KiB
|
|
|
|
|
((#:allowed-references _ '("out"))
|
|
|
|
|
'("out")))) ;refer only self
|
|
|
|
|
(synopsis "Statically-linked 'mdadm' command for use in an initrd")))
|
|
|
|
|
|
2017-02-16 01:02:08 +01:00
|
|
|
|
(define-public multipath-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "multipath-tools")
|
2020-11-15 00:02:18 +01:00
|
|
|
|
(version "0.8.5")
|
2017-02-16 01:02:08 +01:00
|
|
|
|
(source (origin
|
2020-05-16 18:08:27 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.opensvc.com/multipath-tools/.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-02-16 01:02:08 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-15 00:02:18 +01:00
|
|
|
|
"0gipg0z79h76j0f449cx4wcrfsv69ravjlpphsac11h302g3nrvg"))
|
2017-02-16 01:02:08 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Drop bundled valgrind headers.
|
|
|
|
|
(delete-file-recursively "third-party")
|
|
|
|
|
(substitute* '("multipathd/main.c"
|
|
|
|
|
"libmultipath/debug.c")
|
|
|
|
|
(("#include \"../third-party/")
|
|
|
|
|
"#include \""))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-05-16 20:56:20 +02:00
|
|
|
|
'(#:test-target "test"
|
2020-05-16 18:13:35 +02:00
|
|
|
|
#:parallel-build? #f ;XXX: broken in 0.8.4
|
2018-08-16 15:53:39 +02:00
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "DESTDIR="
|
2017-02-16 01:02:08 +01:00
|
|
|
|
(assoc-ref %outputs "out"))
|
2020-05-16 18:13:35 +02:00
|
|
|
|
;; Install Udev rules below this directory, relative
|
|
|
|
|
;; to the prefix.
|
2017-04-18 15:30:22 +02:00
|
|
|
|
"SYSTEMDPATH=lib"
|
2017-02-16 01:02:08 +01:00
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-04-18 15:30:22 +02:00
|
|
|
|
(add-after 'unpack 'patch-source
|
2017-04-18 15:42:40 +02:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((lvm2 (assoc-ref inputs "lvm2"))
|
|
|
|
|
(udev (assoc-ref inputs "udev")))
|
|
|
|
|
(substitute* "Makefile.inc"
|
2018-06-12 16:11:51 +02:00
|
|
|
|
(("\\$\\(prefix\\)/usr") "$(prefix)")
|
|
|
|
|
;; Do not save timestamp to avoid gzip "timestamp
|
|
|
|
|
;; out-of-range" warnings.
|
|
|
|
|
(("gzip -9") "gzip -9n"))
|
2017-04-18 15:42:40 +02:00
|
|
|
|
(substitute* '("kpartx/Makefile" "libmultipath/Makefile")
|
|
|
|
|
(("/usr/include/libdevmapper.h")
|
|
|
|
|
(string-append lvm2 "/include/libdevmapper.h"))
|
|
|
|
|
(("/usr/include/libudev.h")
|
|
|
|
|
(string-append udev "/include/libudev.h")))
|
|
|
|
|
#t)))
|
2020-05-16 18:13:35 +02:00
|
|
|
|
(add-after 'unpack 'fix-maybe-uninitialized-variable
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This variable gets initialized later if needed, but GCC 7
|
|
|
|
|
;; fails to notice. Should be fixed for > 0.8.4.
|
|
|
|
|
;; https://www.redhat.com/archives/dm-devel/2020-March/msg00137.html
|
|
|
|
|
(substitute* "libmultipath/structs_vec.c"
|
|
|
|
|
(("bool is_queueing;")
|
|
|
|
|
"bool is_queueing = false;"))
|
|
|
|
|
#t))
|
2020-05-16 20:56:20 +02:00
|
|
|
|
(add-after 'unpack 'fix-linking-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Add missing linker flag for -lmpathcmd. This should be fixed
|
|
|
|
|
;; for versions > 0.8.4.
|
|
|
|
|
(substitute* "tests/Makefile"
|
|
|
|
|
(("-lmultipath -lcmocka")
|
|
|
|
|
"-lmultipath -L$(mpathcmddir) -lmpathcmd -lcmocka"))
|
|
|
|
|
#t))
|
2020-11-15 00:02:18 +01:00
|
|
|
|
(add-after 'unpack 'skip-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This test and the module's setup() test an arbitrary block
|
|
|
|
|
;; device node name, but the build environment has none.
|
|
|
|
|
(substitute* "tests/devt.c"
|
|
|
|
|
(("return get_one_devt.*") "return 0;\n")
|
|
|
|
|
(("cmocka_unit_test\\(test_devt2devname_devt_good\\),") ""))
|
|
|
|
|
;; The above triggers -Werror=unused-function. Ignore it.
|
|
|
|
|
(substitute* "tests/Makefile"
|
|
|
|
|
(("CFLAGS \\+= " match)
|
|
|
|
|
(string-append match "-Wno-error=unused-function ")))
|
|
|
|
|
#t))
|
2019-02-10 21:42:37 +01:00
|
|
|
|
(delete 'configure)))) ; no configure script
|
2017-02-16 01:02:08 +01:00
|
|
|
|
(native-inputs
|
2017-04-18 15:42:40 +02:00
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2020-05-16 20:56:20 +02:00
|
|
|
|
("valgrind" ,valgrind)
|
|
|
|
|
|
|
|
|
|
;; For tests.
|
|
|
|
|
("cmocka" ,cmocka)))
|
2017-02-16 01:02:08 +01:00
|
|
|
|
(inputs
|
2020-12-12 16:58:08 +01:00
|
|
|
|
`(("json-c" ,json-c)
|
2017-02-16 01:02:08 +01:00
|
|
|
|
("libaio" ,libaio)
|
|
|
|
|
("liburcu" ,liburcu)
|
|
|
|
|
("lvm2" ,lvm2)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("udev" ,eudev)))
|
|
|
|
|
(home-page "http://christophe.varoqui.free.fr/")
|
|
|
|
|
(synopsis "Access block devices through multiple paths")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides the following binaries to drive the
|
|
|
|
|
Linux Device Mapper multipathing driver:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item @command{multipath} - Device mapper target autoconfig.
|
|
|
|
|
@item @command{multipathd} - Multipath daemon.
|
|
|
|
|
@item @command{mpathpersist} - Manages SCSI persistent reservations on
|
|
|
|
|
@code{dm} multipath devices.
|
|
|
|
|
@item @command{kpartx} - Create device maps from partition tables.
|
|
|
|
|
@end enumerate")
|
2019-02-10 21:42:37 +01:00
|
|
|
|
(license (list license:gpl2+ ; main distribution
|
2017-02-16 01:02:08 +01:00
|
|
|
|
license:lgpl2.0+)))) ; libmpathcmd/mpath_cmd.h
|
|
|
|
|
|
2015-04-16 10:47:44 +02:00
|
|
|
|
(define-public libaio
|
|
|
|
|
(package
|
|
|
|
|
(name "libaio")
|
2020-02-12 16:39:43 +01:00
|
|
|
|
(version "0.3.112")
|
2015-04-16 10:47:44 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-05-02 13:23:30 +02:00
|
|
|
|
(uri (list
|
|
|
|
|
(string-append "https://releases.pagure.org/libaio/"
|
|
|
|
|
name "-" version ".tar.gz")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-02-12 16:39:43 +01:00
|
|
|
|
"14mlqdapjqq1dhpkdgy5z83mvsaz36fcxca7a4z6hinmr7r6415b"))))
|
2015-04-16 10:47:44 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-01-27 22:01:16 +01:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(let ((target ,(%current-target-system)))
|
|
|
|
|
(list (string-append "prefix=" %output)
|
|
|
|
|
(string-append
|
|
|
|
|
"CC=" (if target
|
|
|
|
|
(string-append (assoc-ref %build-inputs "cross-gcc")
|
|
|
|
|
"/bin/" target "-gcc")
|
|
|
|
|
"gcc"))))
|
2015-04-16 10:47:44 +02:00
|
|
|
|
#:test-target "partcheck" ; need root for a full 'check'
|
|
|
|
|
#:phases
|
2020-02-15 20:14:52 +01:00
|
|
|
|
(modify-phases %standard-phases (delete 'configure)))) ; no configure script
|
2018-05-02 13:23:30 +02:00
|
|
|
|
(home-page "https://pagure.io/libaio")
|
2015-04-16 10:47:44 +02:00
|
|
|
|
(synopsis "Linux-native asynchronous I/O access library")
|
|
|
|
|
(description
|
|
|
|
|
"This library enables userspace to use Linux kernel asynchronous I/O
|
|
|
|
|
system calls, important for the performance of databases and other advanced
|
|
|
|
|
applications.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-04-26 23:49:53 +02:00
|
|
|
|
|
2020-03-15 21:25:54 +01:00
|
|
|
|
(define-public blktrace
|
|
|
|
|
;; Take a newer commit to get the fix for CVE-2018-10689.
|
2020-03-21 13:08:25 +01:00
|
|
|
|
(let ((commit "db4f6340e04716285ea56fe26d76381c3adabe58")
|
|
|
|
|
(revision "1"))
|
2020-03-15 21:25:54 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "blktrace")
|
|
|
|
|
(version (git-version "1.2.0" revision commit))
|
|
|
|
|
(home-page
|
|
|
|
|
"https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
2020-03-21 13:08:25 +01:00
|
|
|
|
(base32 "0ah7xn4qnx09k6bm39p69av7d0c8cl6863drv6a1nf914sq1kpgp"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2020-03-15 21:25:54 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-06-03 01:47:22 +02:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list ,(string-append "CC=" (cc-for-target))
|
|
|
|
|
(string-append "prefix=" %output))
|
|
|
|
|
#:tests? #f ; no tests
|
2020-03-15 21:25:54 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-06-03 01:47:22 +02:00
|
|
|
|
(delete 'configure) ; no configure script
|
2020-03-15 21:25:54 +01:00
|
|
|
|
(add-after 'unpack 'fix-gnuplot-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((gnuplot (assoc-ref inputs "gnuplot")))
|
|
|
|
|
(substitute* "btt/bno_plot.py"
|
|
|
|
|
(("gnuplot %s")
|
|
|
|
|
(string-append gnuplot "/bin/gnuplot %s")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libaio" ,libaio)
|
|
|
|
|
("gnuplot" ,gnuplot)
|
|
|
|
|
("python" ,python-wrapper))) ;for 'bno_plot.py'
|
|
|
|
|
(synopsis "Block layer IO tracing mechanism")
|
|
|
|
|
(description "Blktrace is a block layer IO tracing mechanism which provides
|
|
|
|
|
detailed information about request queue operations to user space. It extracts
|
|
|
|
|
event traces from the kernel (via the relaying through the debug file system).")
|
|
|
|
|
(license license:gpl2))))
|
|
|
|
|
|
2016-05-14 11:27:12 +02:00
|
|
|
|
(define-public sbc
|
|
|
|
|
(package
|
|
|
|
|
(name "sbc")
|
2019-05-24 11:30:29 +02:00
|
|
|
|
(version "1.4")
|
2016-05-14 11:27:12 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-05-09 14:06:07 +02:00
|
|
|
|
(uri (string-append "mirror://kernel.org/linux/bluetooth/sbc-"
|
|
|
|
|
version ".tar.xz"))
|
2016-05-14 11:27:12 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-05-24 11:30:29 +02:00
|
|
|
|
"1jal98pnrjkzxlkiqy0ykh4qmgnydz9bmsp1jn581p5kddpg92si"))))
|
2016-05-14 11:27:12 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libsndfile" ,libsndfile)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://www.kernel.org/pub/linux/bluetooth/")
|
|
|
|
|
(synopsis "Bluetooth subband audio codec")
|
|
|
|
|
(description
|
|
|
|
|
"The SBC is a digital audio encoder and decoder used to transfer data to
|
|
|
|
|
Bluetooth audio output devices like headphones or loudspeakers.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-04-26 23:49:53 +02:00
|
|
|
|
(define-public bluez
|
|
|
|
|
(package
|
|
|
|
|
(name "bluez")
|
2020-10-13 17:00:37 +02:00
|
|
|
|
(version "5.55")
|
2015-04-26 23:49:53 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-05-12 20:09:08 +02:00
|
|
|
|
"mirror://kernel.org/linux/bluetooth/bluez-"
|
2015-04-26 23:49:53 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-13 17:00:37 +02:00
|
|
|
|
"124v9s4y1s7s6klx5vlmzpk1jlr4x84ch7r7scm7x2f42dqp2qw8"))))
|
2015-04-26 23:49:53 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-08-05 00:02:55 +02:00
|
|
|
|
`(#:configure-flags
|
2015-04-26 23:49:53 +02:00
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
2016-06-17 13:14:10 +02:00
|
|
|
|
(list "--sysconfdir=/etc"
|
|
|
|
|
"--localstatedir=/var"
|
|
|
|
|
"--enable-library"
|
2015-05-23 20:39:57 +02:00
|
|
|
|
"--disable-systemd"
|
2020-10-13 17:00:37 +02:00
|
|
|
|
;; TODO: is this needed? Not installed by default since 5.55.
|
|
|
|
|
"--enable-hid2hci"
|
2015-04-26 23:49:53 +02:00
|
|
|
|
;; Install dbus/udev files to the correct location.
|
|
|
|
|
(string-append "--with-dbusconfdir=" out "/etc")
|
2016-06-17 14:35:21 +02:00
|
|
|
|
(string-append "--with-udevdir=" out "/lib/udev")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-10-16 08:36:28 +02:00
|
|
|
|
;; Test unit/test-gatt fails unpredictably. Seems to be a timing
|
|
|
|
|
;; issue (discussion on upstream mailing list:
|
|
|
|
|
;; https://marc.info/?t=149578476300002&r=1&w=2)
|
|
|
|
|
(add-before 'check 'skip-wonky-test
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "unit/test-gatt.c"
|
|
|
|
|
(("tester_init\\(&argc, &argv\\);") "return 77;"))
|
|
|
|
|
#t))
|
2016-06-17 14:35:21 +02:00
|
|
|
|
(add-after 'install 'post-install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(servicedir (string-append out "/share/dbus-1/services"))
|
|
|
|
|
(service "obexd/src/org.bluez.obex.service")
|
|
|
|
|
(rule (string-append
|
|
|
|
|
out "/lib/udev/rules.d/97-hid2hci.rules")))
|
|
|
|
|
;; Install the obex dbus service file.
|
|
|
|
|
(substitute* service
|
|
|
|
|
(("/bin/false")
|
|
|
|
|
(string-append out "/libexec/bluetooth/obexd")))
|
|
|
|
|
(install-file service servicedir)
|
|
|
|
|
;; Fix paths in the udev rule.
|
|
|
|
|
(substitute* rule
|
|
|
|
|
(("hid2hci --method")
|
|
|
|
|
(string-append out "/lib/udev/hid2hci --method"))
|
|
|
|
|
(("/sbin/udevadm")
|
|
|
|
|
(string-append (assoc-ref inputs "eudev") "/bin/udevadm")))
|
2017-10-11 18:05:24 +02:00
|
|
|
|
#t))))))
|
2015-04-26 23:49:53 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2016-09-25 09:33:02 +02:00
|
|
|
|
("gettext" ,gettext-minimal)))
|
2015-04-26 23:49:53 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("eudev" ,eudev)
|
|
|
|
|
("libical" ,libical)
|
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
(home-page "http://www.bluez.org/")
|
|
|
|
|
(synopsis "Linux Bluetooth protocol stack")
|
|
|
|
|
(description
|
|
|
|
|
"BlueZ provides support for the core Bluetooth layers and protocols. It
|
|
|
|
|
is flexible, efficient and uses a modular implementation.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2015-08-20 21:00:09 +02:00
|
|
|
|
|
|
|
|
|
(define-public fuse-exfat
|
|
|
|
|
(package
|
|
|
|
|
(name "fuse-exfat")
|
2018-11-19 09:44:22 +01:00
|
|
|
|
(version "1.3.0")
|
2015-08-20 21:00:09 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-12-05 20:29:15 +01:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/relan/exfat/releases/download/v"
|
|
|
|
|
version "/" name "-" version ".tar.gz"))
|
2015-08-20 21:00:09 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-19 09:44:22 +01:00
|
|
|
|
"1lz00q8g4590mrdqmf13ba1s9zrqq645ymgm5p9y99ad0qv22r87"))))
|
2015-08-20 21:00:09 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2016-12-05 20:29:15 +01:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2015-08-20 21:00:09 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("fuse" ,fuse)))
|
2016-12-05 20:29:15 +01:00
|
|
|
|
(home-page "https://github.com/relan/exfat")
|
2015-08-20 21:00:09 +02:00
|
|
|
|
(synopsis "Mount exFAT file systems")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a FUSE-based file system that provides read and
|
|
|
|
|
write access to exFAT devices.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2015-11-06 23:49:40 +01:00
|
|
|
|
|
2019-03-06 16:23:46 +01:00
|
|
|
|
(define-public fuseiso
|
|
|
|
|
(package
|
|
|
|
|
(name "fuseiso")
|
|
|
|
|
(version "20070708")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/fuseiso/fuseiso/"
|
|
|
|
|
version "/fuseiso-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"127xql52dcdhmh7s5m9xc6q39jdlj3zhbjar1j821kb6gl3jw94b"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fuse" ,fuse)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://sourceforge.net/projects/fuseiso/")
|
2019-03-06 16:27:15 +01:00
|
|
|
|
(synopsis "Mount ISO file system images")
|
2019-03-06 16:23:46 +01:00
|
|
|
|
(description
|
2019-04-24 19:31:39 +02:00
|
|
|
|
"FuseISO is a FUSE module to mount ISO file system images (.iso, .nrg,
|
2019-03-07 17:12:46 +01:00
|
|
|
|
.bin, .mdf and .img files). It supports plain ISO9660 Level 1 and 2, Rock
|
|
|
|
|
Ridge, Joliet, and zisofs.")
|
2019-03-06 16:23:46 +01:00
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2015-11-06 23:49:40 +01:00
|
|
|
|
(define-public gpm
|
|
|
|
|
(package
|
|
|
|
|
(name "gpm")
|
|
|
|
|
(version "1.20.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2020-05-27 02:06:36 +02:00
|
|
|
|
"https://www.nico.schottelius.org/software/gpm/archives/"
|
|
|
|
|
"gpm-" version ".tar.bz2"))
|
2018-01-04 05:24:51 +01:00
|
|
|
|
(patches (search-patches "gpm-glibc-2.26.patch"))
|
2015-11-06 23:49:40 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"13d426a8h403ckpc8zyf7s2p5rql0lqbg2bv0454x0pvgbfbf4gh"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
2018-03-11 21:46:30 +01:00
|
|
|
|
(replace 'bootstrap
|
2015-11-06 23:49:40 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
;; The tarball was not generated with 'make dist' so we
|
|
|
|
|
;; need to bootstrap things ourselves.
|
2017-09-04 21:35:25 +02:00
|
|
|
|
(substitute* "autogen.sh"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
2018-03-16 07:13:57 +01:00
|
|
|
|
(invoke "./autogen.sh")
|
|
|
|
|
(patch-makefile-SHELL "Makefile.include.in")
|
|
|
|
|
#t)))
|
2015-11-06 23:49:40 +01:00
|
|
|
|
|
|
|
|
|
;; Make sure programs find libgpm.so.
|
|
|
|
|
#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("texinfo" ,texinfo)
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
2020-05-27 02:06:36 +02:00
|
|
|
|
(home-page "https://www.nico.schottelius.org/software/gpm/")
|
2015-11-06 23:49:40 +01:00
|
|
|
|
(synopsis "Mouse support for the Linux console")
|
|
|
|
|
(description
|
|
|
|
|
"The GPM (general-purpose mouse) daemon is a mouse server for
|
|
|
|
|
applications running on the Linux console. It allows users to select items
|
|
|
|
|
and copy/paste text in the console and in xterm.")
|
2015-12-19 00:30:33 +01:00
|
|
|
|
(license license:gpl2+)))
|
2016-02-10 05:01:46 +01:00
|
|
|
|
|
|
|
|
|
(define-public btrfs-progs
|
|
|
|
|
(package
|
|
|
|
|
(name "btrfs-progs")
|
2020-11-01 16:48:25 +01:00
|
|
|
|
(version "5.9")
|
2016-02-10 05:01:46 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org/linux/kernel/"
|
|
|
|
|
"people/kdave/btrfs-progs/"
|
|
|
|
|
"btrfs-progs-v" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-01 16:48:25 +01:00
|
|
|
|
"14d7hz07kfczfgmy1ixkgccjn393gpkjn7givz5kwxddcnk5i4xq"))))
|
2016-02-10 05:01:46 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2016-04-03 21:36:29 +02:00
|
|
|
|
(outputs '("out"
|
2017-07-28 16:31:00 +02:00
|
|
|
|
"static")) ; static versions of the binaries in "out"
|
2016-02-10 05:01:46 +01:00
|
|
|
|
(arguments
|
2016-04-03 21:36:29 +02:00
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
2020-02-09 10:38:42 +01:00
|
|
|
|
(add-after 'unpack 'patch-makefile
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\(DESTDIR\\)\\$\\(udevruledir\\)")
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/lib/udev/rules.d")))
|
|
|
|
|
#t))
|
2016-04-03 21:36:29 +02:00
|
|
|
|
(add-after 'build 'build-static
|
2018-03-28 08:02:43 +02:00
|
|
|
|
(lambda _ (invoke "make" "static")))
|
2017-09-14 15:30:02 +02:00
|
|
|
|
(add-after 'install 'install-bash-completion
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-02-17 15:56:01 +01:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bashcomp (string-append out "/etc/bash_completion.d")))
|
|
|
|
|
(mkdir-p bashcomp)
|
|
|
|
|
(copy-file "btrfs-completion"
|
|
|
|
|
(string-append bashcomp "/btrfs"))
|
|
|
|
|
#t)))
|
2016-04-03 21:36:29 +02:00
|
|
|
|
(add-after 'install 'install-static
|
|
|
|
|
(let ((staticbin (string-append (assoc-ref %outputs "static")
|
|
|
|
|
"/bin")))
|
|
|
|
|
(lambda _
|
2018-03-28 08:02:43 +02:00
|
|
|
|
(invoke "make"
|
|
|
|
|
(string-append "bindir=" staticbin)
|
|
|
|
|
"install-static")))))
|
2018-06-09 11:17:09 +02:00
|
|
|
|
#:tests? #f ; XXX: require the 'btrfs' kernel module.
|
2016-04-03 21:36:29 +02:00
|
|
|
|
#:test-target "test"
|
2016-02-10 05:01:46 +01:00
|
|
|
|
#:parallel-tests? #f)) ; tests fail when run in parallel
|
2020-02-09 10:38:42 +01:00
|
|
|
|
(inputs `(("e2fsprogs" ,e2fsprogs) ; for btrfs-convert
|
2017-09-26 11:50:47 +02:00
|
|
|
|
("lzo" ,lzo)
|
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-15 00:24:28 +01:00
|
|
|
|
("util-linux:lib" ,util-linux "lib") ;for libblkid and libuuid
|
|
|
|
|
("util-linux:static" ,util-linux "static") ;ditto
|
2016-02-10 05:01:46 +01:00
|
|
|
|
("zlib" ,zlib)
|
2018-08-08 14:19:02 +02:00
|
|
|
|
("zlib:static" ,zlib "static")
|
2019-07-22 14:53:12 +02:00
|
|
|
|
("zstd" ,zstd "lib")
|
|
|
|
|
("zstd:static" ,zstd "static")))
|
2016-02-10 05:01:46 +01:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("asciidoc" ,asciidoc)
|
2018-08-16 21:35:29 +02:00
|
|
|
|
("python" ,python)
|
2016-02-10 05:01:46 +01:00
|
|
|
|
("xmlto" ,xmlto)
|
2016-12-23 20:12:37 +01:00
|
|
|
|
;; For building documentation.
|
2016-02-10 05:01:46 +01:00
|
|
|
|
("libxml2" ,libxml2)
|
2016-07-30 00:26:16 +02:00
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
2016-12-23 20:12:37 +01:00
|
|
|
|
;; For tests.
|
2017-09-10 01:27:16 +02:00
|
|
|
|
("acl" ,acl)
|
2018-03-28 08:02:43 +02:00
|
|
|
|
("which" ,which)
|
2020-02-09 10:38:42 +01:00
|
|
|
|
("dmsetup" ,lvm2)
|
|
|
|
|
("udevadm" ,eudev)
|
2018-03-28 08:02:43 +02:00
|
|
|
|
;; The tests need 'grep' with perl regexp support.
|
|
|
|
|
("grep" ,grep)))
|
2018-07-11 21:04:12 +02:00
|
|
|
|
(home-page "https://btrfs.wiki.kernel.org/index.php/Main_Page")
|
2016-02-10 05:01:46 +01:00
|
|
|
|
(synopsis "Create and manage btrfs copy-on-write file systems")
|
2017-03-17 19:33:22 +01:00
|
|
|
|
(description "Btrfs is a @dfn{copy-on-write} (CoW) file system for Linux
|
|
|
|
|
aimed at implementing advanced features while focusing on fault tolerance,
|
|
|
|
|
repair and easy administration.")
|
2016-02-15 03:04:05 +01:00
|
|
|
|
;; GPL2+: crc32.c, radix-tree.c, raid6.c, rbtree.c.
|
|
|
|
|
;; GPL2: Everything else.
|
|
|
|
|
(license (list license:gpl2 license:gpl2+))))
|
2016-03-16 21:45:12 +01:00
|
|
|
|
|
2016-11-30 19:34:31 +01:00
|
|
|
|
(define-public btrfs-progs/static
|
|
|
|
|
(package
|
|
|
|
|
(name "btrfs-progs-static")
|
|
|
|
|
(version (package-version btrfs-progs))
|
|
|
|
|
(source #f)
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("btrfs-progs:static" ,btrfs-progs "static")))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
|
|
|
|
|
(let* ((btrfs (assoc-ref %build-inputs "btrfs-progs:static"))
|
|
|
|
|
(out (assoc-ref %outputs "out"))
|
|
|
|
|
(source (string-append btrfs "/bin/btrfs.static"))
|
|
|
|
|
(target (string-append out "/bin/btrfs")))
|
|
|
|
|
(mkdir-p (dirname target))
|
|
|
|
|
(copy-file source target)
|
|
|
|
|
(remove-store-references target)
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
(chmod target #o555)
|
|
|
|
|
#t))))
|
2016-11-30 19:34:31 +01:00
|
|
|
|
(home-page (package-home-page btrfs-progs))
|
2017-03-09 22:33:10 +01:00
|
|
|
|
(synopsis "Statically-linked btrfs command from btrfs-progs")
|
|
|
|
|
(description "This package provides the statically-linked @command{btrfs}
|
|
|
|
|
from the btrfs-progs package. It is meant to be used in initrds.")
|
2016-11-30 19:34:31 +01:00
|
|
|
|
(license (package-license btrfs-progs))))
|
|
|
|
|
|
2020-03-26 23:12:53 +01:00
|
|
|
|
(define-public cramfs-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "cramfs-tools")
|
|
|
|
|
(home-page "https://github.com/npitre/cramfs-tools")
|
|
|
|
|
(version "2.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "183rfqqyzx52q0vxicdgf0p984idh3rqkvzfb93gjvyzfhc15c0p"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; No tests.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(install-file "mkcramfs" (string-append out "/sbin"))
|
|
|
|
|
(install-file "cramfsck" (string-append out "/sbin")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Tools to manage Cramfs file systems")
|
|
|
|
|
(description "Cramfs is a Linux file system designed to be simple, small,
|
|
|
|
|
and to compress things well. It is used on a number of embedded systems and
|
|
|
|
|
small devices. This version has additional features such as uncompressed
|
|
|
|
|
blocks and random block placement.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2019-08-18 15:48:16 +02:00
|
|
|
|
(define-public compsize
|
|
|
|
|
(package
|
|
|
|
|
(name "compsize")
|
|
|
|
|
(version "1.3")
|
|
|
|
|
(home-page "https://github.com/kilobyte/compsize")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1c69whla844nwis30jxbj00zkpiw3ccndhkmzjii8av5358mjn43"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("btrfs-progs" ,btrfs-progs)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests.
|
|
|
|
|
#:make-flags (list "CC=gcc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(install-file "compsize" (string-append out "/bin"))
|
|
|
|
|
(install-file "compsize.8" (string-append out "/share/man/man8"))))))))
|
|
|
|
|
(synopsis "Find compression type/ratio on Btrfs files")
|
|
|
|
|
(description "@command{compsize} takes a list of files (given as
|
|
|
|
|
arguments) on a Btrfs file system and measures used compression types and
|
|
|
|
|
effective compression ratio, producing a report.
|
|
|
|
|
|
|
|
|
|
A directory has no extents but has a (recursive) list of files. A non-regular
|
|
|
|
|
file is silently ignored.
|
|
|
|
|
|
|
|
|
|
As it makes no sense to talk about compression ratio of a partial extent,
|
|
|
|
|
every referenced extent is counted whole, exactly once -- no matter if you use
|
|
|
|
|
only a few bytes of a 1GB extent or reflink it a thousand times. Thus, the
|
|
|
|
|
uncompressed size will not match the number given by @command{tar} or
|
|
|
|
|
@command{du}. On the other hand, the space used should be accurate (although
|
|
|
|
|
obviously it can be shared with files outside our set).")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2018-04-26 02:15:55 +02:00
|
|
|
|
(define-public f2fs-tools-1.7
|
2017-07-29 13:24:56 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "f2fs-tools")
|
2018-04-26 02:15:55 +02:00
|
|
|
|
(version "1.7.0")
|
2017-07-29 13:24:56 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://git.kernel.org/cgit/linux/kernel/git/jaegeuk"
|
2019-03-05 13:13:43 +01:00
|
|
|
|
"/f2fs-tools.git/snapshot/f2fs-tools-" version ".tar.gz"))
|
2017-07-29 13:24:56 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-26 02:15:55 +02:00
|
|
|
|
"1m6bn1ibq0p53m0n97il91xqgjgn2pzlz74lb5bfzassx7159m1k"))))
|
|
|
|
|
|
2017-07-29 13:24:56 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-04-26 02:15:55 +02:00
|
|
|
|
(add-after 'install 'install-headers
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(out-include (string-append out "/include")))
|
|
|
|
|
(install-file "include/f2fs_fs.h" out-include)
|
|
|
|
|
(install-file "mkfs/f2fs_format_utils.h" out-include)
|
|
|
|
|
#t))))))
|
2017-07-29 13:24:56 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
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-15 00:24:28 +01:00
|
|
|
|
`(("libuuid" ,util-linux "lib")
|
2018-04-26 02:15:55 +02:00
|
|
|
|
("libselinux" ,libselinux)))
|
2017-07-29 13:24:56 +02:00
|
|
|
|
(home-page "https://f2fs.wiki.kernel.org/")
|
|
|
|
|
(synopsis "Userland tools for f2fs")
|
|
|
|
|
(description
|
|
|
|
|
"F2FS, the Flash-Friendly File System, is a modern file system
|
|
|
|
|
designed to be fast and durable on flash devices such as solid-state
|
|
|
|
|
disks and SD cards. This package provides the userland utilities.")
|
|
|
|
|
;; The formatting utility, libf2fs and include/f2fs_fs.h is dual
|
|
|
|
|
;; GPL2/LGPL2.1, everything else is GPL2 only. See 'COPYING'.
|
|
|
|
|
(license (list license:gpl2 license:lgpl2.1))))
|
|
|
|
|
|
2018-04-26 02:15:55 +02:00
|
|
|
|
(define-public f2fs-tools
|
|
|
|
|
(package
|
|
|
|
|
(inherit f2fs-tools-1.7)
|
|
|
|
|
(name "f2fs-tools")
|
2019-11-30 23:21:22 +01:00
|
|
|
|
(version "1.13.0")
|
2018-04-26 02:15:55 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://git.kernel.org/cgit/linux/kernel/git/jaegeuk"
|
2019-03-05 13:13:43 +01:00
|
|
|
|
"/f2fs-tools.git/snapshot/f2fs-tools-" version ".tar.gz"))
|
2018-04-26 02:15:55 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-30 23:21:22 +01:00
|
|
|
|
"0z9c0y3qq75iyqknl5k0v7v46l8c3pcifpqb0yqalrs24blkm7dk"))))
|
2018-04-26 02:15:55 +02:00
|
|
|
|
(inputs
|
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-15 00:24:28 +01:00
|
|
|
|
`(("libuuid" ,util-linux "lib")))))
|
2018-04-26 02:15:55 +02:00
|
|
|
|
|
2020-05-02 11:38:48 +02:00
|
|
|
|
(define-public f2fs-tools/static
|
|
|
|
|
(static-package
|
|
|
|
|
(package
|
|
|
|
|
(inherit f2fs-tools)
|
|
|
|
|
(name "f2fs-tools-static")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(let ((libuuid-static (assoc-ref %build-inputs "libuuid:static"))
|
|
|
|
|
(libuuid (assoc-ref %build-inputs "libuuid")))
|
|
|
|
|
(list
|
|
|
|
|
(string-append "libuuid_CFLAGS=-I" libuuid "/include")
|
|
|
|
|
(string-append "libuuid_LIBS=-L" libuuid-static "/lib -luuid")
|
|
|
|
|
(string-append "libblkid_CFLAGS=-I" libuuid "/include")
|
|
|
|
|
(string-append "libblkid_LIBS=-L" libuuid-static "/lib -lblkid")))
|
|
|
|
|
#:disallowed-references (,util-linux)
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases ; TODO: f2fs phases.
|
|
|
|
|
(add-after 'unpack 'make-static
|
|
|
|
|
(lambda _
|
|
|
|
|
(define (append-to-file name body)
|
|
|
|
|
(let ((file (open-file name "a")))
|
|
|
|
|
(display body file)
|
|
|
|
|
(close-port file)))
|
|
|
|
|
(append-to-file "mkfs/Makefile.am" "\nmkfs_f2fs_LDFLAGS = -all-static\n")
|
|
|
|
|
(append-to-file "fsck/Makefile.am" "\nfsck_f2fs_LDFLAGS = -all-static\n")
|
|
|
|
|
(append-to-file "tools/Makefile.am" "\nf2fscrypt_LDFLAGS = -all-static -luuid\n")
|
2020-05-03 22:40:57 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'remove-store-references
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Work around bug in our util-linux.
|
|
|
|
|
;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41019>.
|
|
|
|
|
(remove-store-references (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/sbin/mkfs.f2fs"))
|
|
|
|
|
#t)))))
|
2020-05-02 11:38:48 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libuuid:static" ,util-linux "static")
|
2020-05-02 17:31:28 +02:00
|
|
|
|
("libuuid" ,util-linux "lib")))))) ; for include files
|
2020-05-02 11:38:48 +02:00
|
|
|
|
|
2020-04-03 04:18:26 +02:00
|
|
|
|
(define-public f2fs-fsck/static
|
|
|
|
|
(package
|
|
|
|
|
(name "f2fs-fsck-static")
|
|
|
|
|
(version (package-version f2fs-tools/static))
|
|
|
|
|
(source #f)
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
(let* ((f2fs-tools (assoc-ref %build-inputs "f2fs-tools-static"))
|
|
|
|
|
(fsck "fsck.f2fs")
|
|
|
|
|
(out (assoc-ref %outputs "out"))
|
|
|
|
|
(sbin (string-append out "/sbin")))
|
|
|
|
|
(mkdir-p sbin)
|
|
|
|
|
(with-directory-excursion sbin
|
|
|
|
|
(install-file (string-append f2fs-tools "/sbin/" fsck)
|
|
|
|
|
".")
|
|
|
|
|
(remove-store-references fsck)
|
|
|
|
|
(chmod fsck #o555))
|
|
|
|
|
#t))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("f2fs-tools-static" ,f2fs-tools/static)))
|
|
|
|
|
(home-page (package-home-page f2fs-tools/static))
|
|
|
|
|
(synopsis "Statically-linked fsck.f2fs command from f2fs-tools")
|
|
|
|
|
(description "This package provides statically-linked fsck.f2fs command taken
|
|
|
|
|
from the f2fs-tools package. It is meant to be used in initrds.")
|
|
|
|
|
(license (package-license f2fs-tools/static))))
|
|
|
|
|
|
2016-03-16 21:45:12 +01:00
|
|
|
|
(define-public freefall
|
|
|
|
|
(package
|
|
|
|
|
(name "freefall")
|
|
|
|
|
(version (package-version linux-libre))
|
|
|
|
|
(source (package-source linux-libre))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-subdirectory
|
|
|
|
|
(lambda _
|
2018-03-16 07:16:06 +01:00
|
|
|
|
(chdir "tools/laptop/freefall")
|
|
|
|
|
#t))
|
2016-03-16 21:45:12 +01:00
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'increase-timeout
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The default of 2 seconds is too low: it assumes an
|
|
|
|
|
;; open lid and AC power without actually checking.
|
|
|
|
|
(substitute* "freefall.c"
|
2018-03-16 07:16:06 +01:00
|
|
|
|
(("alarm\\(2\\)") "alarm(5)"))
|
|
|
|
|
#t)))
|
2016-03-16 21:45:12 +01:00
|
|
|
|
#:make-flags (list (string-append "PREFIX="
|
2018-04-21 22:04:11 +02:00
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
"CC=gcc")
|
2016-03-16 21:45:12 +01:00
|
|
|
|
#:tests? #f)) ;no tests
|
|
|
|
|
(home-page (package-home-page linux-libre))
|
|
|
|
|
(synopsis "Free-fall protection for spinning laptop hard drives")
|
|
|
|
|
(description
|
|
|
|
|
"Prevents shock damage to the internal spinning hard drive(s) of some
|
|
|
|
|
HP and Dell laptops. When sudden movement is detected, all input/output
|
|
|
|
|
operations on the drive are suspended and its heads are parked on the ramp,
|
|
|
|
|
where they are less likely to cause damage to the spinning disc. Requires a
|
|
|
|
|
drive that supports the ATA/ATAPI-7 IDLE IMMEDIATE command with unload
|
|
|
|
|
feature, and a laptop with an accelerometer. It has no effect on SSDs.")
|
|
|
|
|
(license license:gpl2)))
|
2016-04-30 10:31:13 +02:00
|
|
|
|
|
|
|
|
|
(define-public thinkfan
|
|
|
|
|
(package
|
|
|
|
|
(name "thinkfan")
|
2020-07-31 16:52:41 +02:00
|
|
|
|
(version "1.2.1")
|
2019-03-05 16:21:45 +01: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/vmatare/thinkfan")
|
2019-03-05 16:21:45 +01:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-07-31 16:52:41 +02:00
|
|
|
|
(base32 "18vgm5w5pjnpipa34j4x87q10695w2jnqwvc2f027afy7mnzw7kz"))))
|
2016-04-30 10:31:13 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build cmake-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
2019-03-05 16:21:45 +01:00
|
|
|
|
#:tests? #f ; no test target
|
2016-04-30 10:31:13 +02:00
|
|
|
|
#:configure-flags
|
|
|
|
|
;; Enable reading temperatures from hard disks via S.M.A.R.T.
|
2019-03-05 16:21:45 +01:00
|
|
|
|
;; Upstream ‘defaults to OFF because libatasmart seems to be horribly
|
|
|
|
|
;; inefficient’.
|
2016-04-30 10:31:13 +02:00
|
|
|
|
`("-DUSE_ATASMART:BOOL=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-03-05 16:56:41 +01:00
|
|
|
|
(add-after 'unpack 'create-init-scripts
|
|
|
|
|
;; CMakeLists.txt relies on build-time symptoms of OpenRC and
|
|
|
|
|
;; systemd to patch and install their service files. Fake their
|
|
|
|
|
;; presence rather than duplicating the build system below. Leave
|
|
|
|
|
;; things like ‘/bin/kill’ because they're not worth a dependency.
|
|
|
|
|
;; The sysvinit needs manual patching, but since upstream doesn't
|
|
|
|
|
;; even provide the option to install it: don't.
|
2016-04-30 10:31:13 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2019-03-05 16:56:41 +01:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share/" ,name)))
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("pkg_check_modules\\((OPENRC|SYSTEMD) .*" _ package)
|
2020-04-26 12:34:59 +02:00
|
|
|
|
(format #f "option(~a_FOUND \"Faked\" ON)\n" package))
|
2019-03-05 16:56:41 +01:00
|
|
|
|
;; That was easy! Now we just need to fix the destinations.
|
|
|
|
|
(("/etc" directory)
|
|
|
|
|
(string-append out directory)))
|
|
|
|
|
#t))))))
|
2019-03-05 16:21:45 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-04-30 10:31:13 +02:00
|
|
|
|
(inputs
|
2019-03-05 16:21:45 +01:00
|
|
|
|
`(("libatasmart" ,libatasmart)
|
|
|
|
|
("yaml-cpp" ,yaml-cpp)))
|
2020-06-10 21:53:48 +02:00
|
|
|
|
(home-page "https://github.com/vmatare/thinkfan")
|
2016-04-30 10:31:13 +02:00
|
|
|
|
(synopsis "Simple fan control program")
|
|
|
|
|
(description
|
|
|
|
|
"Thinkfan is a simple fan control program. It reads temperatures,
|
|
|
|
|
checks them against configured limits and switches to appropriate (also
|
|
|
|
|
pre-configured) fan level. It requires a working @code{thinkpad_acpi} or any
|
|
|
|
|
other @code{hwmon} driver that enables temperature reading and fan control
|
|
|
|
|
from userspace.")
|
|
|
|
|
(license license:gpl3+)))
|
2016-05-18 21:59:38 +02:00
|
|
|
|
|
2019-05-10 14:49:58 +02:00
|
|
|
|
(define-public tpacpi-bat
|
|
|
|
|
(package
|
|
|
|
|
(name "tpacpi-bat")
|
|
|
|
|
(version "3.1")
|
|
|
|
|
(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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/teleshoes/tpacpi-bat")
|
2019-05-10 14:49:58 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0wbaz34z99gqx721alh5vmpxpj2yxg3x9m8jqyivfi1wfpwc2nd5"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'refer-to-inputs
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tpacpi-bat"
|
|
|
|
|
(("cat ")
|
2020-04-26 12:44:09 +02:00
|
|
|
|
(format #f "~a " (which "cat")))
|
2019-05-10 14:49:58 +02:00
|
|
|
|
;; tpacpi-bat modprobes the acpi_call kernel module if it's not
|
|
|
|
|
;; loaded. That's the administrator's prerogative; disable it.
|
|
|
|
|
(("system \"(modprobe .*)\"" _ match)
|
2020-04-26 12:44:09 +02:00
|
|
|
|
(format #f "die \"Please run ‘~a’ first.\\n\"" match)))
|
2019-05-10 14:49:58 +02:00
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure) ; nothing to configure
|
|
|
|
|
(delete 'build) ; nothing to build
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
|
|
|
|
(install-file "tpacpi-bat" bin)
|
|
|
|
|
|
|
|
|
|
;; There's no man page. Install other forms of documentation.
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((target (string-append doc "/" file)))
|
|
|
|
|
(mkdir-p (dirname target))
|
|
|
|
|
(copy-recursively file target)))
|
|
|
|
|
(list "battery_asl" "examples" "README.md"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(home-page "https://github.com/teleshoes/tpacpi-bat")
|
|
|
|
|
(synopsis "ThinkPad battery charge controller")
|
|
|
|
|
(description
|
|
|
|
|
"Tpacpi-bat is a command-line interface to control battery charging on
|
|
|
|
|
@uref{https://github.com/teleshoes/tpacpi-bat/wiki/Supported-Hardware, Lenovo
|
|
|
|
|
ThinkPad models released after 2011}, starting with the xx20 series. It can
|
|
|
|
|
query and set the thresholds at which one or both batteries will start and stop
|
|
|
|
|
charging, inhibit charging batteries for a set period of time, or force them to
|
|
|
|
|
discharge when they otherwise would not.
|
|
|
|
|
|
|
|
|
|
This tool merely exposes ACPI calls provided by the @code{acpi_call} Linux
|
|
|
|
|
kernel module provided by the @code{acpi-call-linux-module} package, which must
|
|
|
|
|
be installed and loaded separately. Only the original vendor firmware is
|
|
|
|
|
supported.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2016-05-18 21:59:38 +02:00
|
|
|
|
(define-public ntfs-3g
|
|
|
|
|
(package
|
|
|
|
|
(name "ntfs-3g")
|
2017-08-07 00:21:11 +02:00
|
|
|
|
(version "2017.3.23")
|
2016-05-18 21:59:38 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://tuxera.com/opensource/"
|
|
|
|
|
"ntfs-3g_ntfsprogs-" version ".tgz"))
|
2019-04-02 20:49:47 +02:00
|
|
|
|
(patches (search-patches "ntfs-3g-CVE-2019-9755.patch"))
|
2016-05-18 21:59:38 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-08-07 00:21:11 +02:00
|
|
|
|
"1mb228p80hv97pgk3myyvgp975r9mxq56c6bdn1n24kngcfh4niy"))
|
2016-05-18 21:59:38 +02:00
|
|
|
|
(modules '((guix build utils)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; Install under $prefix.
|
|
|
|
|
(substitute* '("src/Makefile.in" "ntfsprogs/Makefile.in")
|
|
|
|
|
(("/sbin")
|
|
|
|
|
"@sbindir@"))
|
|
|
|
|
#t))))
|
2016-05-18 21:59:38 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("util-linux" ,util-linux)
|
|
|
|
|
("fuse" ,fuse))) ;libuuid
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
2020-09-24 19:59:47 +02:00
|
|
|
|
'(#:configure-flags (list "--disable-static"
|
|
|
|
|
"--exec-prefix=${prefix}"
|
2016-05-18 21:59:38 +02:00
|
|
|
|
"--with-fuse=external" ;use our own FUSE
|
|
|
|
|
"--enable-mount-helper"
|
|
|
|
|
"--enable-posix-acls"
|
2018-05-23 14:42:36 +02:00
|
|
|
|
"--enable-xattr-mappings")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; If users install ntfs-3g, they probably want to make it the
|
|
|
|
|
;; default driver as well, so we opt for sensible defaults and link
|
|
|
|
|
;; mount.ntfs to mount.ntfs-3g. (libmount tries to run mount.ntfs to
|
2019-04-24 19:31:39 +02:00
|
|
|
|
;; mount NTFS file systems.)
|
2018-05-23 14:42:36 +02:00
|
|
|
|
(add-after 'install 'install-link
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(sbin (string-append out "/sbin")))
|
|
|
|
|
(symlink "mount.ntfs-3g"
|
2018-06-28 02:46:38 +02:00
|
|
|
|
(string-append sbin "/mount.ntfs")))
|
|
|
|
|
#t)))))
|
2017-08-07 00:01:43 +02:00
|
|
|
|
(home-page "https://www.tuxera.com/community/open-source-ntfs-3g/")
|
2016-05-18 21:59:38 +02:00
|
|
|
|
(synopsis "Read-write access to NTFS file systems")
|
|
|
|
|
(description
|
|
|
|
|
"NTFS-3G provides read-write access to NTFS file systems, which are
|
|
|
|
|
commonly found on Microsoft Windows. It is implemented as a FUSE file system.
|
|
|
|
|
The package provides additional NTFS tools.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-07-03 04:26:28 +02:00
|
|
|
|
|
2017-03-17 09:27:31 +01:00
|
|
|
|
(define-public rdma-core
|
|
|
|
|
(package
|
|
|
|
|
(name "rdma-core")
|
2019-11-08 17:57:06 +01:00
|
|
|
|
(version "26.0")
|
2017-03-17 09:27:31 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/linux-rdma/rdma-core"
|
|
|
|
|
"/releases/download/v" version "/rdma-core-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-08 17:57:06 +01:00
|
|
|
|
"14raqwx4pkzghiwkx1v0dq338f7xqqx8rnsxlpdnngvjy1p5l79j"))))
|
2017-03-17 09:27:31 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2019-11-08 17:57:06 +01:00
|
|
|
|
`(#:tests? #f ; no tests
|
2017-03-17 09:27:31 +01:00
|
|
|
|
;; Upstream uses the "ninja" build system and encourage distros
|
|
|
|
|
;; to do the same for consistency. They also recommend using the
|
|
|
|
|
;; "Release" build type.
|
2018-03-17 12:23:59 +01:00
|
|
|
|
#:build-type "Release"
|
2019-11-08 17:52:54 +01:00
|
|
|
|
#:configure-flags (list "-GNinja"
|
|
|
|
|
|
2019-11-08 17:57:06 +01:00
|
|
|
|
(string-append "-DRST2MAN_EXECUTABLE="
|
|
|
|
|
(assoc-ref %build-inputs
|
|
|
|
|
"python-docutils")
|
|
|
|
|
"/bin/rst2man.py")
|
|
|
|
|
|
2019-11-08 17:52:54 +01:00
|
|
|
|
;; On some configurations, the
|
|
|
|
|
;; IB_USER_MAD_REGISTER_AGENT ioctl, which is
|
|
|
|
|
;; used by default, would return ENODEV. To
|
|
|
|
|
;; avoid that, use 'write' instead of ioctls,
|
|
|
|
|
;; as suggested in 'CMakeList.txt'.
|
|
|
|
|
"-DIOCTL_MODE=write")
|
2017-03-17 09:27:31 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
2018-03-16 07:18:03 +01:00
|
|
|
|
(invoke "ninja"
|
|
|
|
|
"-j" (number->string (parallel-job-count)))))
|
2017-03-17 09:27:31 +01:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
2018-03-16 07:18:03 +01:00
|
|
|
|
(invoke "ninja" "install"))))))
|
2017-03-17 09:27:31 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("ninja" ,ninja)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2019-11-08 17:57:06 +01:00
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("python-docutils" ,python-docutils))) ;for 'rst2man'
|
2017-03-17 09:27:31 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libnl" ,libnl)
|
|
|
|
|
("udev" ,eudev)))
|
|
|
|
|
(home-page "https://github.com/linux-rdma/rdma-core")
|
|
|
|
|
(synopsis "Utilities and libraries for working with RDMA devices")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides userspace components for the InfiniBand
|
|
|
|
|
subsystem of the Linux kernel. Specifically it contains userspace
|
|
|
|
|
libraries for the following device nodes:
|
|
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
|
@item @file{/dev/infiniband/uverbsX} (@code{libibverbs})
|
|
|
|
|
@item @file{/dev/infiniband/rdma_cm} (@code{librdmacm})
|
|
|
|
|
@item @file{/dev/infiniband/umadX} (@code{libibumad})
|
|
|
|
|
@end enumerate
|
|
|
|
|
|
|
|
|
|
The following service daemons are also provided:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item @code{srp_daemon} (for the @code{ib_srp} kernel module)
|
|
|
|
|
@item @code{iwpmd} (for iWARP kernel providers)
|
|
|
|
|
@item @code{ibacm} (for InfiniBand communication management assistant)
|
|
|
|
|
@end enumerate")
|
|
|
|
|
;; All library code is dual licensed under GPL2 and a custom MIT
|
|
|
|
|
;; variant. The package also includes some components covered by
|
|
|
|
|
;; other licenses. Consult COPYING.md for full details.
|
|
|
|
|
(license
|
|
|
|
|
(list license:gpl2
|
|
|
|
|
(license:x11-style "See COPYING.BSD_MIT in the distribution")
|
|
|
|
|
license:bsd-2 ; Files referring to COPYING.BSD_FB
|
|
|
|
|
license:cc0 ; most files in ccan/
|
|
|
|
|
license:bsd-3)))) ; providers/hfi1verbs are dual GPL2/BSD-3
|
|
|
|
|
|
2018-08-31 17:24:42 +02:00
|
|
|
|
(define-public perftest
|
|
|
|
|
(package
|
|
|
|
|
(name "perftest")
|
2018-10-10 23:43:23 +02:00
|
|
|
|
(version "4.4-0.4")
|
2018-08-31 17:24:42 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-10-10 23:43:23 +02:00
|
|
|
|
(uri (string-append "https://github.com/linux-rdma/perftest/releases/download/v"
|
|
|
|
|
version "/perftest-" version ".g0927198.tar.gz"))
|
2018-08-31 17:24:42 +02:00
|
|
|
|
(sha256
|
2018-10-10 23:43:23 +02:00
|
|
|
|
(base32 "11ix4h0rrmqqyi84y55a9xnkvwsmwq0sywr46hvxzm4rqz4ma8vq"))))
|
2018-08-31 17:24:42 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-header-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("src/raw_ethernet_fs_rate.c"
|
|
|
|
|
"src/raw_ethernet_resources.c"
|
|
|
|
|
"src/raw_ethernet_resources.h"
|
|
|
|
|
"src/raw_ethernet_send_burst_lat.c"
|
|
|
|
|
"src/raw_ethernet_send_bw.c"
|
|
|
|
|
"src/raw_ethernet_send_lat.c")
|
|
|
|
|
(("/usr/include/netinet/ip.h") "netinet/ip.h"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs `(("rdma-core" ,rdma-core)))
|
|
|
|
|
(home-page "https://github.com/linux-rdma/perftest/")
|
|
|
|
|
(synopsis "Open Fabrics Enterprise Distribution (OFED) Performance Tests")
|
|
|
|
|
(description "This is a collection of tests written over uverbs intended for
|
|
|
|
|
use as a performance micro-benchmark. The tests may be used for hardware or
|
|
|
|
|
software tuning as well as for functional testing.
|
|
|
|
|
|
|
|
|
|
The collection contains a set of bandwidth and latency benchmark such as:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item Send - @code{ib_send_bw} and @code{ib_send_lat}
|
|
|
|
|
@item RDMA Read - @code{ib_read_bw} and @code{ib_read_lat}
|
|
|
|
|
@item RDMA Write - @code{ib_write_bw} and @code{ib_wriet_lat}
|
|
|
|
|
@item RDMA Atomic - @code{ib_atomic_bw} and @code{ib_atomic_lat}
|
|
|
|
|
@item Native Ethernet (when working with MOFED2) - @code{raw_ethernet_bw}, @code{raw_ethernet_lat}
|
|
|
|
|
@end enumerate")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2016-07-03 04:26:28 +02:00
|
|
|
|
(define-public rng-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "rng-tools")
|
2018-09-26 19:09:45 +02:00
|
|
|
|
(home-page "https://github.com/nhorman/rng-tools")
|
2020-05-11 16:53:58 +02:00
|
|
|
|
(version "6.10")
|
2016-07-03 04:26:28 +02:00
|
|
|
|
(source (origin
|
2018-09-26 19:13:07 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-07-03 04:26:28 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-11 16:53:58 +02:00
|
|
|
|
"0hbml37yxs0fs69g7f2x4ixq61z0029swy99rn7ykma9mi6b7ni9"))))
|
2016-07-03 04:26:28 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2017-12-03 00:08:21 +01:00
|
|
|
|
(arguments
|
2020-05-11 16:53:58 +02:00
|
|
|
|
`(;; Disable support for various hardware entropy sources as they need
|
|
|
|
|
;; dependencies that are not yet in Guix, and would significantly
|
|
|
|
|
;; increase closure size.
|
2019-02-19 17:05:45 +01:00
|
|
|
|
#:configure-flags '("--without-nistbeacon"
|
2020-05-11 16:53:58 +02:00
|
|
|
|
"--without-pkcs11"
|
|
|
|
|
"--without-rtlsdr")))
|
2017-12-03 00:08:21 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2020-05-11 16:53:58 +02:00
|
|
|
|
`(("libsysfs" ,sysfsutils)
|
|
|
|
|
("openssl" ,openssl)))
|
2016-07-03 04:26:28 +02:00
|
|
|
|
(synopsis "Random number generator daemon")
|
|
|
|
|
(description
|
|
|
|
|
"Monitor a hardware random number generator, and supply entropy
|
|
|
|
|
from that to the system kernel's @file{/dev/random} machinery.")
|
|
|
|
|
;; The source package is offered under the GPL2+, but the files
|
|
|
|
|
;; 'rngd_rdrand.c' and 'rdrand_asm.S' are only available under the GPL2.
|
|
|
|
|
(license (list license:gpl2 license:gpl2+))))
|
2016-07-19 04:45:19 +02:00
|
|
|
|
|
|
|
|
|
(define-public cpupower
|
|
|
|
|
(package
|
|
|
|
|
(name "cpupower")
|
|
|
|
|
(version (package-version linux-libre))
|
|
|
|
|
(source (package-source linux-libre))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-subdirectory
|
|
|
|
|
(lambda _
|
2018-06-28 02:46:38 +02:00
|
|
|
|
(chdir "tools/power/cpupower")
|
|
|
|
|
#t))
|
2016-07-19 04:45:19 +02:00
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'fix-makefiles
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/") "/")
|
|
|
|
|
(("/bin/(install|pwd)" _ command) command))
|
|
|
|
|
(substitute* "bench/Makefile"
|
2018-06-28 02:46:38 +02:00
|
|
|
|
(("\\$\\(CC\\) -o") "$(CC) $(LDFLAGS) -o"))
|
|
|
|
|
#t)))
|
2016-07-19 04:45:19 +02:00
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "DESTDIR=" out)
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")
|
2019-12-22 22:43:29 +01:00
|
|
|
|
"libdir=/lib"
|
2016-07-19 04:45:19 +02:00
|
|
|
|
"docdir=/share/doc/cpupower"
|
|
|
|
|
"confdir=$(docdir)/examples"
|
|
|
|
|
;; The Makefile recommends the following changes
|
|
|
|
|
"DEBUG=false"
|
|
|
|
|
"PACKAGE_BUGREPORT=bug-guix@gnu.org"))
|
|
|
|
|
#:tests? #f)) ;no tests
|
2016-09-25 09:33:02 +02:00
|
|
|
|
(native-inputs `(("gettext" ,gettext-minimal)))
|
2016-07-19 04:45:19 +02:00
|
|
|
|
(inputs `(("pciutils" ,pciutils)))
|
|
|
|
|
(home-page (package-home-page linux-libre))
|
|
|
|
|
(synopsis "CPU frequency and voltage scaling tools for Linux")
|
|
|
|
|
(description
|
|
|
|
|
"cpupower is a set of user-space tools that use the cpufreq feature of the
|
|
|
|
|
Linux kernel to retrieve and control processor features related to power saving,
|
|
|
|
|
such as frequency and voltage scaling.")
|
|
|
|
|
(license license:gpl2)))
|
2016-07-23 23:49:45 +02:00
|
|
|
|
|
2019-04-20 15:37:13 +02:00
|
|
|
|
(define-public x86-energy-perf-policy
|
|
|
|
|
(package
|
|
|
|
|
(name "x86-energy-perf-policy")
|
|
|
|
|
(version (package-version linux-libre))
|
|
|
|
|
(source (package-source linux-libre))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-subdirectory
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "tools/power/x86/x86_energy_perf_policy")
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'fix-makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile" (("/usr") ""))
|
|
|
|
|
#t)))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "DESTDIR=" out)
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")))))
|
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
|
|
|
|
(home-page (package-home-page linux-libre))
|
|
|
|
|
(synopsis "Display and update Intel-CPU energy-performance policy")
|
|
|
|
|
(description
|
|
|
|
|
"@command{x86_energy_perf_policy} displays and updates energy-performance
|
|
|
|
|
policy settings specific to Intel Architecture Processors. Settings are
|
|
|
|
|
accessed via Model Specific Register (MSR) updates, no matter if the Linux
|
|
|
|
|
cpufreq sub-system is enabled or not.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2016-07-23 23:49:45 +02:00
|
|
|
|
(define-public haveged
|
|
|
|
|
(package
|
|
|
|
|
(name "haveged")
|
2020-07-01 03:35:53 +02:00
|
|
|
|
(version "1.9.13")
|
2016-07-23 23:49:45 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-10-10 22:59:13 +02: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/jirka-h/haveged")
|
2019-09-10 23:18:39 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
2018-10-10 22:59:13 +02:00
|
|
|
|
(file-name (git-file-name name version))
|
2016-07-23 23:49:45 +02:00
|
|
|
|
(sha256
|
2020-07-01 03:35:53 +02:00
|
|
|
|
(base32 "0g3hcvpky76cabgcfqh65fay7nnjkms32sgmlf33q969833hijqz"))))
|
2016-07-23 23:49:45 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2019-09-10 23:19:08 +02:00
|
|
|
|
(home-page "https://www.issihosts.com/haveged")
|
2016-07-23 23:49:45 +02:00
|
|
|
|
(synopsis "Entropy source for the Linux random number generator")
|
|
|
|
|
(description
|
|
|
|
|
"haveged generates an unpredictable stream of random numbers for use by
|
|
|
|
|
Linux's @file{/dev/random} and @file{/dev/urandom} devices. The kernel's
|
|
|
|
|
standard mechanisms for filling the entropy pool may not be sufficient for
|
|
|
|
|
systems with high needs or limited user interaction, such as headless servers.
|
2018-10-10 23:00:38 +02:00
|
|
|
|
|
2016-07-23 23:49:45 +02:00
|
|
|
|
@command{haveged} runs as a privileged daemon, harvesting randomness from the
|
2019-09-10 23:23:01 +02:00
|
|
|
|
indirect effects of hardware events on hidden processor state using the
|
|
|
|
|
@acronym{HAVEGE, HArdware Volatile Entropy Gathering and Expansion} algorithm.
|
|
|
|
|
It tunes itself to its environment and provides the same built-in test suite
|
|
|
|
|
for the output stream as used on certified hardware security devices.
|
2018-10-11 00:19:13 +02:00
|
|
|
|
|
|
|
|
|
The quality of the randomness produced by this algorithm has not been proven.
|
|
|
|
|
It is recommended to run it together with another entropy source like rngd, and
|
|
|
|
|
not as a replacement for it.")
|
2016-07-23 23:49:45 +02:00
|
|
|
|
(license (list (license:non-copyleft "file://nist/mconf.h")
|
|
|
|
|
(license:non-copyleft "file://nist/packtest.c")
|
|
|
|
|
license:public-domain ; nist/dfft.c
|
|
|
|
|
license:gpl3+)))) ; everything else
|
2016-08-24 02:51:52 +02:00
|
|
|
|
|
|
|
|
|
(define-public ecryptfs-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "ecryptfs-utils")
|
|
|
|
|
(version "111")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://launchpad.net/ecryptfs/trunk/"
|
|
|
|
|
version "/+download/ecryptfs-utils_"
|
|
|
|
|
version ".orig.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0zwq19siiwf09h7lwa7n7mgmrr8cxifp45lmwgcfr8c1gviv6b0i"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-07-15 09:58:41 +02:00
|
|
|
|
`(#:configure-flags (list "--disable-pywrap")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'patch-source-shebangs 'patch-hardcoded-paths
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(utils-linux (assoc-ref inputs "utils-linux"))
|
|
|
|
|
(cryptsetup (assoc-ref inputs "cryptsetup"))
|
|
|
|
|
(linux-pam (assoc-ref inputs "linux-pam"))
|
|
|
|
|
(lvm2 (assoc-ref inputs "lvm2")))
|
|
|
|
|
(substitute* '("src/utils/ecryptfs-mount-private"
|
|
|
|
|
"src/utils/ecryptfs-umount-private"
|
|
|
|
|
"src/utils/ecryptfs-setup-private"
|
2018-07-26 01:13:52 +02:00
|
|
|
|
"src/utils/ecryptfs-setup-swap"
|
2018-07-15 09:58:41 +02:00
|
|
|
|
"src/utils/mount.ecryptfs.c"
|
2018-07-26 01:13:52 +02:00
|
|
|
|
"src/utils/umount.ecryptfs.c"
|
2018-07-15 09:58:41 +02:00
|
|
|
|
"src/pam_ecryptfs/pam_ecryptfs.c"
|
|
|
|
|
"src/desktop/ecryptfs-mount-private.desktop.in"
|
2018-07-26 01:13:52 +02:00
|
|
|
|
"src/desktop/ecryptfs-setup-private.desktop.in")
|
2018-07-15 09:58:41 +02:00
|
|
|
|
(("/bin/mount")
|
|
|
|
|
(string-append utils-linux "/bin/mount"))
|
|
|
|
|
(("/bin/umount")
|
|
|
|
|
(string-append utils-linux "/bin/umount"))
|
|
|
|
|
(("/sbin/mount.ecryptfs_private")
|
|
|
|
|
(string-append out "/sbin/mount.ecryptfs_private"))
|
|
|
|
|
(("/sbin/umount.ecryptfs_private")
|
|
|
|
|
(string-append out "/sbin/umount.ecryptfs_private"))
|
|
|
|
|
(("/usr/bin/ecryptfs-mount-private")
|
|
|
|
|
(string-append out "/bin/ecryptfs-mount-private"))
|
|
|
|
|
(("/usr/bin/ecryptfs-rewrite-file")
|
|
|
|
|
(string-append out "/bin/ecryptfs-rewrite-file"))
|
|
|
|
|
(("/usr/bin/ecryptfs-setup-private")
|
|
|
|
|
(string-append out "/bin/ecryptfs-setup-private"))
|
|
|
|
|
(("/sbin/cryptsetup")
|
|
|
|
|
(string-append cryptsetup "/sbin/cryptsetup"))
|
|
|
|
|
(("/sbin/unix_chkpwd")
|
|
|
|
|
(string-append linux-pam "/sbin/unix_chkpwd"))
|
|
|
|
|
(("/sbin/dmsetup")
|
|
|
|
|
(string-append lvm2 "/sbin/dmsetup")))))))))
|
2016-08-24 02:51:52 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
|
("perl" ,perl) ; for pod2man
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("keyutils" ,keyutils)
|
|
|
|
|
("linux-pam" ,linux-pam)
|
2018-07-15 09:58:41 +02:00
|
|
|
|
("utils-linux" ,util-linux)
|
|
|
|
|
("cryptsetup" ,cryptsetup)
|
|
|
|
|
("lvm2" ,lvm2)
|
2016-08-24 02:51:52 +02:00
|
|
|
|
("nss" ,nss)))
|
2020-01-18 18:27:36 +01:00
|
|
|
|
(home-page "https://ecryptfs.org/")
|
2016-08-24 02:51:52 +02:00
|
|
|
|
(synopsis "eCryptfs cryptographic file system utilities")
|
|
|
|
|
(description
|
|
|
|
|
"eCryptfs is a POSIX-compliant stacked cryptographic file system for Linux.
|
|
|
|
|
Each file's cryptographic meta-data is stored inside the file itself, along
|
|
|
|
|
with the encrypted contents. This allows individual encrypted files to be
|
|
|
|
|
copied between hosts and still be decrypted with the proper key. eCryptfs is a
|
|
|
|
|
native Linux file system, and has been part of the Linux kernel since version
|
|
|
|
|
2.6.19. This package contains the userland utilities to manage it.")
|
|
|
|
|
;; The files src/key_mod/ecryptfs_key_mod_{openssl,pkcs11_helper,tspi}.c
|
|
|
|
|
;; grant additional permission to link with OpenSSL.
|
|
|
|
|
(license license:gpl2+)))
|
2016-09-13 20:58:07 +02:00
|
|
|
|
|
|
|
|
|
(define-public libnfsidmap
|
|
|
|
|
(package
|
|
|
|
|
(name "libnfsidmap")
|
2018-08-16 16:32:36 +02:00
|
|
|
|
(version "0.27")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://fedorapeople.org/~steved/"
|
|
|
|
|
name "/" version "/" name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0bg2bcii424mf1bnp3fssr8jszbvhdxl7wvifm1yf6g596v8b8i5"))))
|
2016-09-13 20:58:07 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list
|
|
|
|
|
(string-append "--with-pluginpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/libnfsidmap"))))
|
2018-08-16 16:32:36 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf))) ; 0.27 still needs autoheader
|
2016-09-13 20:58:07 +02:00
|
|
|
|
(home-page
|
|
|
|
|
"http://www.citi.umich.edu/projects/nfsv4/crossrealm/libnfsidmap_config.html")
|
2018-08-16 16:32:36 +02:00
|
|
|
|
(synopsis "NFSv4 support library for name/ID mapping")
|
2016-09-13 20:58:07 +02:00
|
|
|
|
(description "Libnfsidmap is a library holding mulitiple methods of
|
|
|
|
|
mapping names to ids and visa versa, mainly for NFSv4. It provides an
|
|
|
|
|
extensible array of mapping functions, currently consisting of two choices:
|
|
|
|
|
the default @code{nsswitch} and the experimental @code{umich_ldap}.")
|
|
|
|
|
(license (license:non-copyleft "file://COPYING"
|
|
|
|
|
"See COPYING in the distribution."))))
|
2016-09-13 20:59:34 +02:00
|
|
|
|
|
|
|
|
|
(define-public module-init-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "module-init-tools")
|
|
|
|
|
(version "3.16")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://kernel.org/linux/utils/kernel/module-init-tools/"
|
|
|
|
|
"module-init-tools-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0jxnz9ahfic79rp93l5wxcbgh4pkv85mwnjlbv1gz3jawv5cvwp1"))
|
|
|
|
|
(patches (search-patches "module-init-tools-moduledir.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; FIXME: The upstream tarball lacks man pages, and building them would
|
|
|
|
|
;; require DocBook & co. We used to use Gentoo's pre-built man pages,
|
|
|
|
|
;; but they vanished. In the meantime, fake it.
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fake-docbook
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("^DOCBOOKTOMAN.*$")
|
|
|
|
|
"DOCBOOKTOMAN = true\n"))
|
|
|
|
|
#t)))))
|
2018-01-15 07:29:02 +01:00
|
|
|
|
(home-page "https://www.kernel.org/pub/linux/utils/kernel/module-init-tools/")
|
2016-09-13 20:59:34 +02:00
|
|
|
|
(synopsis "Tools for loading and managing Linux kernel modules")
|
|
|
|
|
(description
|
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 15:39:43 +02:00
|
|
|
|
"Tools for loading and managing Linux kernel modules, such as
|
|
|
|
|
@code{modprobe}, @code{insmod}, @code{lsmod}, and more.")
|
2016-09-13 20:59:34 +02:00
|
|
|
|
(license license:gpl2+)))
|
2016-08-29 02:14:11 +02:00
|
|
|
|
|
|
|
|
|
(define-public mcelog
|
|
|
|
|
(package
|
|
|
|
|
(name "mcelog")
|
2020-11-29 23:15:26 +01:00
|
|
|
|
(version "173")
|
2016-08-29 02:14:11 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://git.kernel.org/cgit/utils/cpu/mce/"
|
|
|
|
|
"mcelog.git/snapshot/v" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-29 23:15:26 +01:00
|
|
|
|
"1a1j4lsvql3aiqbkdn10hhpvmhavhlr9qkh2scxcv1kn7rvvclih"))
|
2016-08-29 02:14:11 +02:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
`(begin
|
|
|
|
|
;; The snapshots lack a .git directory,
|
|
|
|
|
;; breaking ‘git describe’.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\"unknown\"") (string-append "\"v" ,version "\"")))
|
|
|
|
|
#t))))
|
2016-08-29 02:14:11 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "prefix=" out)
|
2020-06-06 06:24:00 +02:00
|
|
|
|
(string-append "DOCDIR=" out "/share/doc/"
|
|
|
|
|
,name "-" ,version)
|
2016-08-29 02:14:11 +02:00
|
|
|
|
"etcprefix=$(DOCDIR)/examples"))
|
|
|
|
|
;; The tests will only run as root on certain supported CPU models.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(supported-systems (list "i686-linux" "x86_64-linux"))
|
2017-10-12 23:57:29 +02:00
|
|
|
|
(home-page "https://mcelog.org/")
|
2016-08-29 02:14:11 +02:00
|
|
|
|
(synopsis "Machine check monitor for x86 Linux systems")
|
|
|
|
|
(description
|
2020-06-06 06:29:42 +02:00
|
|
|
|
"The mcelog daemon logs memory, I/O, CPU, and other hardware errors on x86
|
|
|
|
|
systems running the kernel Linux. It can also perform user-defined tasks, such
|
|
|
|
|
as bringing bad pages off-line, when configurable error thresholds are
|
|
|
|
|
exceeded.")
|
2016-08-29 02:14:11 +02:00
|
|
|
|
(license license:gpl2)))
|
2016-09-01 14:33:57 +02:00
|
|
|
|
|
|
|
|
|
(define-public mtd-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "mtd-utils")
|
2020-07-19 15:04:37 +02:00
|
|
|
|
(version "2.1.2")
|
2016-09-01 14:33:57 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"ftp://ftp.infradead.org/pub/mtd-utils/"
|
|
|
|
|
"mtd-utils-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-19 15:04:37 +02:00
|
|
|
|
"1mp9fqgnz5r69s8ly98ry6k2blqnaqpllwi8m930dm0n8zrwbm4a"))))
|
2018-11-10 19:54:00 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--enable-unit-tests")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cmocka" ,cmocka)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2016-09-01 14:33:57 +02:00
|
|
|
|
(inputs
|
2019-08-03 23:25:50 +02:00
|
|
|
|
`(("acl" ,acl) ; extended attributes (xattr)
|
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-15 00:24:28 +01:00
|
|
|
|
("libuuid" ,util-linux "lib")
|
2018-03-16 16:50:14 +01:00
|
|
|
|
("lzo" ,lzo)
|
2019-08-03 23:25:50 +02:00
|
|
|
|
("openssl" ,openssl) ; optional crypto support
|
2019-08-03 23:24:11 +02:00
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("zstd" ,zstd "lib")))
|
2016-09-01 14:33:57 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "MTD Flash Storage Utilities")
|
|
|
|
|
(description "This package provides utilities for testing, partitioning, etc
|
|
|
|
|
of flash storage.")
|
|
|
|
|
(home-page "http://www.linux-mtd.infradead.org/")
|
|
|
|
|
(license
|
|
|
|
|
(list license:gpl2 ; Almost everything is gpl2 or gpl2+
|
|
|
|
|
license:mpl1.1 ; All ftl* files
|
|
|
|
|
license:expat)))) ; libiniparser
|
2016-10-19 04:39:50 +02:00
|
|
|
|
|
|
|
|
|
(define-public libseccomp
|
|
|
|
|
(package
|
|
|
|
|
(name "libseccomp")
|
2020-11-21 15:00:23 +01:00
|
|
|
|
(version "2.5.1")
|
2016-10-19 04:39:50 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/seccomp/libseccomp/"
|
|
|
|
|
"releases/download/v" version
|
|
|
|
|
"/libseccomp-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-21 15:00:23 +01:00
|
|
|
|
"0m8dlg1v7kflcxvajs4p76p275qwsm2abbf5mfapkakp7hw7wc7f"))))
|
2016-10-19 04:39:50 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2020-07-24 17:23:44 +02:00
|
|
|
|
(arguments
|
2020-07-24 17:24:27 +02:00
|
|
|
|
'(#:configure-flags '("--disable-static")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'skip-load-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This test does a native system call and fails when
|
|
|
|
|
;; run under QEMU user-mode emulation. Just skip it.
|
|
|
|
|
(delete-file "tests/52-basic-load.tests")
|
|
|
|
|
#t)))))
|
2016-10-19 04:39:50 +02:00
|
|
|
|
(native-inputs
|
2020-07-24 00:50:32 +02:00
|
|
|
|
`(("gperf" ,gperf)
|
|
|
|
|
("which" ,which)))
|
2016-10-19 04:39:50 +02:00
|
|
|
|
(synopsis "Interface to Linux's seccomp syscall filtering mechanism")
|
|
|
|
|
(description "The libseccomp library provides an easy to use, platform
|
|
|
|
|
independent, interface to the Linux Kernel's syscall filtering mechanism. The
|
|
|
|
|
libseccomp API is designed to abstract away the underlying BPF based syscall
|
|
|
|
|
filter language and present a more conventional function-call based filtering
|
|
|
|
|
interface that should be familiar to, and easily adopted by, application
|
|
|
|
|
developers.")
|
|
|
|
|
(home-page "https://github.com/seccomp/libseccomp")
|
|
|
|
|
(license license:lgpl2.1)))
|
2016-10-28 00:56:10 +02:00
|
|
|
|
|
|
|
|
|
(define-public radeontop
|
|
|
|
|
(package
|
|
|
|
|
(name "radeontop")
|
2019-06-09 03:43:25 +02:00
|
|
|
|
(version "1.2")
|
2019-06-09 03:46:49 +02: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/clbr/radeontop")
|
2019-06-09 03:46:49 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1b1m30r2nfwqkajqw6m01xmfhlq83z1qylyijxg7962mp9x2k0gw"))))
|
2016-10-28 00:56:10 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
;; getver.sh uses ‘git --describe’, isn't worth an extra git
|
|
|
|
|
;; dependency, and doesn't even work on release(!) tarballs.
|
|
|
|
|
(add-after 'unpack 'report-correct-version
|
2018-06-28 02:46:38 +02:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "getver.sh"
|
|
|
|
|
(("ver=unknown")
|
|
|
|
|
(string-append "ver=" ,version)))
|
|
|
|
|
#t))
|
2016-10-28 00:56:10 +02:00
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output))
|
|
|
|
|
#:tests? #f)) ; no tests
|
|
|
|
|
(native-inputs
|
2016-11-18 18:26:08 +01:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2016-10-28 00:56:10 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libdrm" ,libdrm)
|
|
|
|
|
("libpciaccess" ,libpciaccess)
|
2017-04-29 01:00:10 +02:00
|
|
|
|
("libxcb" ,libxcb)
|
2016-10-28 00:56:10 +02:00
|
|
|
|
("ncurses" ,ncurses)))
|
2019-06-09 03:46:49 +02:00
|
|
|
|
(home-page "https://github.com/clbr/radeontop/")
|
2016-10-28 00:56:10 +02:00
|
|
|
|
(synopsis "Usage monitor for AMD Radeon graphics")
|
|
|
|
|
(description "RadeonTop monitors resource consumption on supported AMD
|
|
|
|
|
Radeon Graphics Processing Units (GPUs), either in real time as bar graphs on
|
|
|
|
|
a terminal or saved to a file for further processing. It measures both the
|
|
|
|
|
activity of the GPU as a whole, which is also accurate during OpenCL
|
|
|
|
|
computations, as well as separate component statistics that are only meaningful
|
|
|
|
|
under OpenGL graphics workloads.")
|
|
|
|
|
(license license:gpl3)))
|
2016-10-07 08:28:27 +02:00
|
|
|
|
|
|
|
|
|
(define-public efivar
|
|
|
|
|
(package
|
|
|
|
|
(name "efivar")
|
2018-12-06 19:18:49 +01:00
|
|
|
|
(version "37")
|
2016-10-07 08:28:27 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-08-16 16:49:49 +02:00
|
|
|
|
(uri (string-append "https://github.com/rhboot/" name
|
2016-10-07 08:28:27 +02:00
|
|
|
|
"/releases/download/" version "/" name
|
|
|
|
|
"-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-12-06 19:18:49 +01:00
|
|
|
|
"17vvfivhsrszh7q39b6npjsrhrhsjf1cmmcpp3xrh6wh7ywzwrrw"))))
|
2016-10-07 08:28:27 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; Tests require a UEFI system and is not detected in the chroot.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:make-flags (list (string-append "prefix=" %output)
|
|
|
|
|
(string-append "libdir=" %output "/lib")
|
2018-02-13 22:35:21 +01:00
|
|
|
|
"CC_FOR_BUILD=gcc"
|
2016-10-07 08:28:27 +02:00
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-02-15 15:48:18 +01:00
|
|
|
|
(delete 'configure))))
|
2016-10-07 08:28:27 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("popt" ,popt)))
|
2018-08-16 16:49:49 +02:00
|
|
|
|
(home-page "https://github.com/rhboot/efivar")
|
2016-10-07 08:28:27 +02:00
|
|
|
|
(synopsis "Tool and library to manipulate EFI variables")
|
|
|
|
|
(description "This package provides a library and a command line
|
|
|
|
|
interface to the variable facility of UEFI boot firmware.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2016-10-07 08:58:10 +02:00
|
|
|
|
|
|
|
|
|
(define-public efibootmgr
|
|
|
|
|
(package
|
|
|
|
|
(name "efibootmgr")
|
2018-04-15 12:52:41 +02:00
|
|
|
|
(version "16")
|
2016-10-07 08:58:10 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-03-01 16:37:31 +01:00
|
|
|
|
(uri (string-append "https://github.com/rhinstaller/efibootmgr"
|
|
|
|
|
"/releases/download/" version "/efibootmgr"
|
2016-10-07 08:58:10 +02:00
|
|
|
|
"-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-15 12:52:41 +02:00
|
|
|
|
"0pzn67vxxaf7jna4cd0i4kqm60h04kb21hckksv9z82q9gxra1wm"))))
|
2016-10-07 08:58:10 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-03-01 16:38:37 +01:00
|
|
|
|
`(#:tests? #f ;no tests
|
2016-10-07 08:58:10 +02:00
|
|
|
|
#:make-flags (list (string-append "prefix=" %output)
|
|
|
|
|
(string-append "libdir=" %output "/lib")
|
2018-04-15 12:52:41 +02:00
|
|
|
|
;; EFIDIR denotes a subdirectory relative to the
|
|
|
|
|
;; EFI System Partition where the loader will be
|
|
|
|
|
;; installed (known as OS_VENDOR in the code).
|
|
|
|
|
;; GRUB overrides this, as such it's only used if
|
|
|
|
|
;; nothing else is specified on the command line.
|
2020-02-15 15:48:27 +01:00
|
|
|
|
"EFIDIR=gnu")
|
2018-04-15 12:52:41 +02:00
|
|
|
|
#:phases (modify-phases %standard-phases (delete 'configure))))
|
2016-10-07 08:58:10 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("efivar" ,efivar)
|
|
|
|
|
("popt" ,popt)))
|
|
|
|
|
(home-page "https://github.com/rhinstaller/efibootmgr")
|
|
|
|
|
(synopsis "Modify the Extensible Firmware Interface (EFI) boot manager")
|
|
|
|
|
(description
|
|
|
|
|
"@code{efibootmgr} is a user-space application to modify the Intel
|
|
|
|
|
Extensible Firmware Interface (EFI) Boot Manager. This application can
|
|
|
|
|
create and destroy boot entries, change the boot order, change the next
|
|
|
|
|
running boot option, and more.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-01-07 19:57:58 +01:00
|
|
|
|
|
|
|
|
|
(define-public sysstat
|
|
|
|
|
(package
|
|
|
|
|
(name "sysstat")
|
2020-11-24 22:12:59 +01:00
|
|
|
|
(version "12.4.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://pagesperso-orange.fr/sebastien.godard/"
|
|
|
|
|
"sysstat-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "02yf2c9n56c3ic72r4p4kb99zjxr8fldvsnmcy7s262izx78vbr4"))))
|
2017-01-07 19:57:58 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-08-19 00:44:03 +02:00
|
|
|
|
`(#:tests? #f ; no test suite.
|
2017-01-07 19:57:58 +01:00
|
|
|
|
;; Without this flag, it tries to install the man pages with group 'root'
|
|
|
|
|
;; and fails because /etc/passwd lacks an entry for the root user.
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "--disable-file-attr"
|
|
|
|
|
(string-append "conf_dir=" (assoc-ref %outputs "out") "/etc"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The build process tries to create '/var/lib/sa', so we skip that
|
|
|
|
|
;; instruction.
|
|
|
|
|
(add-after 'build 'skip-touching-var
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("mkdir -p \\$\\(DESTDIR\\)\\$\\(SA_DIR\\)")
|
|
|
|
|
""))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "http://sebastien.godard.pagesperso-orange.fr/")
|
|
|
|
|
(synopsis "Performance monitoring tools for Linux")
|
|
|
|
|
(description "The sysstat utilities are a collection of performance
|
|
|
|
|
monitoring tools for Linux. These include @code{mpstat}, @code{iostat},
|
|
|
|
|
@code{tapestat}, @code{cifsiostat}, @code{pidstat}, @code{sar}, @code{sadc},
|
|
|
|
|
@code{sadf} and @code{sa}.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-01-28 13:07:57 +01:00
|
|
|
|
|
|
|
|
|
(define-public light
|
|
|
|
|
(package
|
|
|
|
|
(name "light")
|
2020-03-29 00:37:05 +01:00
|
|
|
|
(version "1.2.2")
|
2019-11-12 15:05:46 +01: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/haikarainen/light")
|
2019-11-12 15:05:46 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
2020-03-29 00:37:05 +01:00
|
|
|
|
(base32 "1a70zcf88ifsnwll486aicjnh48zisdf8f7vi34ihw61kdadsq9s"))
|
2019-11-12 15:05:46 +01:00
|
|
|
|
(file-name (git-file-name name version))))
|
2017-01-28 13:07:57 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2020-01-27 15:33:37 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-udev-rules-absolute-path-bins
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "90-backlight.rules"
|
|
|
|
|
(("/bin/chgrp") (which "chgrp"))
|
|
|
|
|
(("/bin/chmod") (which "chmod")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-udev-rules
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(install-file
|
|
|
|
|
"90-backlight.rules" (string-append out "/lib/udev/rules.d"))
|
|
|
|
|
#t))))))
|
2017-01-28 13:07:57 +01:00
|
|
|
|
(native-inputs
|
2018-10-20 12:17:24 +02:00
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(home-page "https://haikarainen.github.io/light/")
|
2017-01-28 13:07:57 +01:00
|
|
|
|
(synopsis "GNU/Linux application to control backlights")
|
|
|
|
|
(description
|
|
|
|
|
"Light is a program to send commands to screen backlight controllers
|
|
|
|
|
under GNU/Linux. Features include:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item It does not rely on X.
|
|
|
|
|
@item Light can automatically figure out the best controller to use, making
|
|
|
|
|
full use of underlying hardware.
|
|
|
|
|
@item It is possible to set a minimum brightness value, as some controllers
|
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 21:31:52 +02:00
|
|
|
|
set the screen to be pitch black at a value of 0 (or higher).
|
|
|
|
|
@end itemize\n")
|
2017-01-28 13:07:57 +01:00
|
|
|
|
(license license:gpl3+)))
|
2017-02-07 00:13:10 +01:00
|
|
|
|
|
2019-03-25 02:01:51 +01:00
|
|
|
|
(define-public brightnessctl
|
2020-11-19 23:57:50 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "brightnessctl")
|
|
|
|
|
(version "0.5.1")
|
|
|
|
|
(home-page "https://github.com/Hummer12007/brightnessctl")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page) (commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0immxc7almmpg80n3bdn834p3nrrz7bspl2syhb04s3lawa5y2lq"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "PREFIX=" %output)
|
|
|
|
|
(string-append "UDEVDIR=" %output "/lib/udev/rules.d/"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'adjust-udev-rules
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "90-brightnessctl.rules"
|
|
|
|
|
(("/bin/") "/run/current-system/profile/bin/"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Backlight and LED brightness control")
|
|
|
|
|
(description
|
|
|
|
|
"This program allows you read and control device brightness. Devices
|
2019-03-25 02:01:51 +01:00
|
|
|
|
include backlight and LEDs. It can also preserve current brightness before
|
|
|
|
|
applying the operation, such as on lid close.
|
|
|
|
|
|
|
|
|
|
The appropriate permissions must be set on the backlight or LED control
|
|
|
|
|
interface in sysfs, which can be accomplished with the included udev rules.")
|
2020-11-19 23:57:50 +01:00
|
|
|
|
(license license:expat)))
|
2019-03-25 02:01:51 +01:00
|
|
|
|
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(define-public tlp
|
|
|
|
|
(package
|
|
|
|
|
(name "tlp")
|
2020-02-12 23:03:05 +01:00
|
|
|
|
(version "1.3.1")
|
2020-02-02 10:42:16 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-02-12 23:03:05 +01: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/linrunner/TLP")
|
2020-02-12 23:03:05 +01:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2020-02-02 10:42:16 +01:00
|
|
|
|
(sha256
|
2020-02-12 23:03:05 +01:00
|
|
|
|
(base32 "14fcnaz9pw534v4d8dddqq4wcvpf1kghr8zlrk62r5lrl46sp1p5"))))
|
2020-02-02 10:42:16 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("shellcheck" ,shellcheck)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("ethtool" ,ethtool)
|
|
|
|
|
("eudev" ,eudev)
|
|
|
|
|
("grep" ,grep)
|
|
|
|
|
("hdparm" ,hdparm)
|
|
|
|
|
("inetutils" ,inetutils)
|
|
|
|
|
("iw" ,iw)
|
|
|
|
|
("kmod" ,kmod)
|
|
|
|
|
("pciutils" ,pciutils)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("rfkill" ,rfkill)
|
|
|
|
|
("sed" ,sed)
|
|
|
|
|
("usbutils" ,usbutils)
|
|
|
|
|
("util-linux" ,util-linux)
|
|
|
|
|
("wireless-tools" ,wireless-tools)
|
|
|
|
|
,@(if (let ((system (or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
(or (string-prefix? "i686-" system)
|
|
|
|
|
(string-prefix? "x86_64-" system)))
|
|
|
|
|
`(("x86-energy-perf-policy" ,x86-energy-perf-policy))
|
|
|
|
|
'())))
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-02-02 10:42:16 +01:00
|
|
|
|
;; XXX: The full test suite is run with "checkall" but it requires
|
|
|
|
|
;; "checkbashisms" and "perlcritic", not yet packaged in Guix.
|
|
|
|
|
`(#:test-target "shellcheck"
|
|
|
|
|
#:modules ((guix build gnu-build-system)
|
2019-04-20 16:13:37 +02:00
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(modify-phases %standard-phases
|
2017-05-03 17:22:33 +02:00
|
|
|
|
(delete 'configure) ; no configure script
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(add-before 'build 'setenv
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(setenv "TLP_WITH_SYSTEMD" "0")
|
|
|
|
|
(setenv "TLP_NO_INIT" "1")
|
|
|
|
|
(setenv "TLP_NO_PMUTILS" "1")
|
|
|
|
|
(setenv "TLP_SBIN" (string-append out "/bin"))
|
|
|
|
|
(setenv "TLP_BIN" (string-append out "/bin"))
|
2019-03-22 19:12:34 +01:00
|
|
|
|
(setenv "TLP_TLIB" (string-append out "/share/tlp"))
|
|
|
|
|
(setenv "TLP_FLIB" (string-append out "/share/tlp/func.d"))
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(setenv "TLP_ULIB" (string-append out "/lib/udev"))
|
2020-02-02 10:42:16 +01:00
|
|
|
|
(setenv "TLP_CONFDEF"
|
|
|
|
|
(string-append out "/share/tlp/defaults.conf"))
|
|
|
|
|
(setenv "TLP_CONFDIR" (string-append out "/etc/tlp.d"))
|
2019-05-07 23:41:00 +02:00
|
|
|
|
(setenv "TLP_ELOD"
|
|
|
|
|
(string-append out "/lib/elogind/system-sleep"))
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(setenv "TLP_SHCPL"
|
|
|
|
|
(string-append out "/share/bash-completion/completions"))
|
2018-02-10 12:47:59 +01:00
|
|
|
|
(setenv "TLP_MAN" (string-append out "/share/man"))
|
2018-10-10 23:54:17 +02:00
|
|
|
|
(setenv "TLP_META" (string-append out "/share/metainfo"))
|
|
|
|
|
#t)))
|
2017-05-03 17:22:33 +02:00
|
|
|
|
(add-before 'install 'fix-installation
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Stop the Makefile from trying to create system directories.
|
2019-05-07 23:41:00 +02:00
|
|
|
|
(substitute* "Makefile"
|
2020-02-02 10:42:16 +01:00
|
|
|
|
(("\\[ -f \\$\\(_CONFUSR\\) \\]") "#")
|
2019-05-07 23:41:00 +02:00
|
|
|
|
(("install -d -m 755 \\$\\(_VAR\\)") "#"))
|
2018-10-10 23:54:17 +02:00
|
|
|
|
#t))
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(replace 'install
|
2020-02-02 10:42:16 +01:00
|
|
|
|
(lambda _ (invoke "make" "install-tlp" "install-man-tlp")))
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((bin (string-append (assoc-ref outputs "out") "/bin"))
|
|
|
|
|
(bin-files (find-files bin ".*")))
|
|
|
|
|
(define (bin-directory input-name)
|
2019-04-20 16:13:37 +02:00
|
|
|
|
(let ((p (assoc-ref inputs input-name)))
|
|
|
|
|
(and p (string-append p "/bin"))))
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(define (sbin-directory input-name)
|
|
|
|
|
(string-append (assoc-ref inputs input-name) "/sbin"))
|
|
|
|
|
(for-each (lambda (program)
|
|
|
|
|
(wrap-program program
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
,(append
|
2019-04-20 16:13:37 +02:00
|
|
|
|
(filter-map bin-directory
|
|
|
|
|
'("bash"
|
|
|
|
|
"coreutils"
|
|
|
|
|
"dbus"
|
|
|
|
|
"eudev"
|
|
|
|
|
"grep"
|
|
|
|
|
"inetutils"
|
|
|
|
|
"kmod"
|
|
|
|
|
"perl"
|
|
|
|
|
"sed"
|
|
|
|
|
"usbutils"
|
|
|
|
|
"util-linux"
|
|
|
|
|
"x86-energy-perf-policy"))
|
|
|
|
|
(filter-map sbin-directory
|
|
|
|
|
'("ethtool"
|
|
|
|
|
"hdparm"
|
|
|
|
|
"iw"
|
|
|
|
|
"pciutils"
|
|
|
|
|
"rfkill"
|
|
|
|
|
"wireless-tools"))))))
|
2018-10-10 23:54:17 +02:00
|
|
|
|
bin-files)
|
|
|
|
|
#t))))))
|
2020-01-19 01:39:45 +01:00
|
|
|
|
(home-page "https://linrunner.de/en/tlp/tlp.html")
|
2017-01-31 22:01:18 +01:00
|
|
|
|
(synopsis "Power management tool for Linux")
|
|
|
|
|
(description "TLP is a power management tool for Linux. It comes with
|
|
|
|
|
a default configuration already optimized for battery life. Nevertheless,
|
|
|
|
|
TLP is customizable to fulfil system requirements. TLP settings are applied
|
|
|
|
|
every time the power supply source is changed.")
|
|
|
|
|
;; 'COPYING' is a custom version that says that one file is GPLv3+ and the
|
|
|
|
|
;; rest is GPLv2+.
|
|
|
|
|
(license (list license:gpl2+ license:gpl3+))))
|
|
|
|
|
|
2017-02-07 00:13:10 +01:00
|
|
|
|
(define-public lshw
|
|
|
|
|
(package
|
|
|
|
|
(name "lshw")
|
2020-07-21 01:56:48 +02:00
|
|
|
|
(version "B.02.19.2")
|
2017-02-07 00:13:10 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.ezix.org/software/"
|
|
|
|
|
"files/lshw-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-21 01:56:48 +02:00
|
|
|
|
"100gm1c6gb2hkfws22h0xhvv7nz38p49lxd1csikj8qlhyn4gcwv"))))
|
2017-02-07 00:13:10 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases (delete 'configure))
|
|
|
|
|
#:tests? #f ; no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))))
|
|
|
|
|
(synopsis "List hardware information")
|
|
|
|
|
(description
|
|
|
|
|
"@command{lshw} (Hardware Lister) is a small tool to provide
|
|
|
|
|
detailed information on the hardware configuration of the machine.
|
|
|
|
|
It can report exact memory configuration, firmware version, mainboard
|
|
|
|
|
configuration, CPU version and speed, cache configuration, bus speed,
|
|
|
|
|
and more on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC
|
|
|
|
|
machines (PowerMac G4 is known to work).")
|
|
|
|
|
(home-page "https://www.ezix.org/project/wiki/HardwareLiSter")
|
|
|
|
|
(license license:gpl2+)))
|
2017-04-15 23:57:00 +02:00
|
|
|
|
|
|
|
|
|
(define-public libmnl
|
|
|
|
|
(package
|
|
|
|
|
(name "libmnl")
|
|
|
|
|
(version "1.0.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-02-27 01:32:57 +01:00
|
|
|
|
(uri (string-append "mirror://netfilter.org/libmnl/"
|
2017-04-15 23:57:00 +02:00
|
|
|
|
"libmnl-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"108zampspaalv44zn0ar9h386dlfixpd149bnxa5hsi8kxlqj7qp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://www.netfilter.org/projects/libmnl/")
|
|
|
|
|
(synopsis "Netlink utility library")
|
|
|
|
|
(description "Libmnl is a minimalistic user-space library oriented to
|
|
|
|
|
Netlink developers. There are a lot of common tasks in parsing, validating,
|
|
|
|
|
constructing of both the Netlink header and TLVs that are repetitive and easy to
|
|
|
|
|
get wrong. This library aims to provide simple helpers that allows you to
|
|
|
|
|
re-use code and to avoid re-inventing the wheel.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2017-04-16 00:12:31 +02:00
|
|
|
|
|
|
|
|
|
(define-public libnftnl
|
|
|
|
|
(package
|
|
|
|
|
(name "libnftnl")
|
2020-11-01 17:23:49 +01:00
|
|
|
|
(version "1.1.8")
|
2017-04-16 00:12:31 +02:00
|
|
|
|
(source
|
2019-03-05 13:07:15 +01:00
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://netfilter.org/libnftnl/"
|
|
|
|
|
"libnftnl-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
2020-11-01 17:23:49 +01:00
|
|
|
|
(base32 "04dp797llg3cqzivwrql30wg9mfr0ngnp0v5gs7jcdmp11dzm8q4"))))
|
2017-04-16 00:12:31 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmnl" ,libmnl)))
|
|
|
|
|
(home-page "https://www.netfilter.org/projects/libnftnl/index.html")
|
|
|
|
|
(synopsis "Netlink programming interface to the Linux nf_tables subsystem")
|
|
|
|
|
(description "Libnftnl is a userspace library providing a low-level netlink
|
|
|
|
|
programming interface to the in-kernel nf_tables subsystem. The library
|
|
|
|
|
libnftnl has been previously known as libnftables. This library is currently
|
|
|
|
|
used by nftables.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-05-11 17:48:58 +02:00
|
|
|
|
|
2017-06-08 10:33:36 +02:00
|
|
|
|
(define-public nftables
|
|
|
|
|
(package
|
|
|
|
|
(name "nftables")
|
2020-11-01 17:24:03 +01:00
|
|
|
|
(version "0.9.7")
|
2017-06-08 10:33:36 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-12-10 16:31:35 +01:00
|
|
|
|
(uri (list (string-append "mirror://netfilter.org/nftables/nftables-"
|
|
|
|
|
version ".tar.bz2")
|
|
|
|
|
(string-append "https://www.nftables.org/projects/nftables"
|
|
|
|
|
"/files/nftables-" version ".tar.bz2")))
|
2017-06-08 10:33:36 +02:00
|
|
|
|
(sha256
|
2020-11-01 17:24:03 +01:00
|
|
|
|
(base32 "1c1c2475nifncv0ng8z77h2dpanlsx0bhqm15k00jb3a6a68lszy"))))
|
2017-06-08 10:33:36 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2019-03-07 12:05:38 +01:00
|
|
|
|
(arguments `(#:configure-flags
|
|
|
|
|
'("--disable-man-doc"))) ; FIXME: Needs docbook2x.
|
2020-03-30 22:38:44 +02:00
|
|
|
|
(inputs `(("gmp" ,gmp)
|
2018-03-16 16:50:14 +01:00
|
|
|
|
("libmnl" ,libmnl)
|
|
|
|
|
("libnftnl" ,libnftnl)
|
|
|
|
|
("readline" ,readline)))
|
2020-03-30 22:38:44 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
2019-12-10 15:43:20 +01:00
|
|
|
|
(home-page "https://www.nftables.org")
|
2017-06-08 10:33:36 +02:00
|
|
|
|
(synopsis "Userspace utility for Linux packet filtering")
|
|
|
|
|
(description "nftables is the project that aims to replace the existing
|
|
|
|
|
{ip,ip6,arp,eb}tables framework. Basically, this project provides a new packet
|
|
|
|
|
filtering framework, a new userspace utility and also a compatibility layer for
|
|
|
|
|
{ip,ip6}tables. nftables is built upon the building blocks of the Netfilter
|
|
|
|
|
infrastructure such as the existing hooks, the connection tracking system, the
|
|
|
|
|
userspace queueing component and the logging subsystem.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2017-05-11 17:48:58 +02:00
|
|
|
|
(define-public proot
|
|
|
|
|
(package
|
|
|
|
|
(name "proot")
|
|
|
|
|
(version "5.1.0")
|
2019-05-17 03:26:35 +02: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/proot-me/PRoot")
|
2019-05-17 03:26:35 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0azsqis99gxldmbcg43girch85ysg4hwzf0h1b44bmapnsm89fbz"))
|
|
|
|
|
(patches (search-patches "proot-test-fhs.patch"))))
|
2017-05-11 17:48:58 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags '("-C" "src")
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'set-shell-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* (find-files "src" "\\.[ch]$")
|
|
|
|
|
(("\"/bin/sh\"")
|
|
|
|
|
(string-append "\""
|
|
|
|
|
(assoc-ref inputs "bash")
|
|
|
|
|
"/bin/sh\"")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'fix-fhs-assumptions-in-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/test-c6b77b77.mk"
|
|
|
|
|
(("/bin/bash") (which "bash"))
|
|
|
|
|
(("/usr/bin/test") (which "test")))
|
|
|
|
|
(substitute* '("tests/test-16573e73.c")
|
|
|
|
|
(("/bin/([a-z-]+)" _ program)
|
|
|
|
|
(which program)))
|
|
|
|
|
|
|
|
|
|
(substitute* (find-files "tests" "\\.sh$")
|
|
|
|
|
;; Some of the tests try to "bind-mount" /bin/true.
|
|
|
|
|
(("-b /bin/true:")
|
|
|
|
|
(string-append "-b " (which "true") ":"))
|
|
|
|
|
;; Likewise for /bin.
|
|
|
|
|
(("-b /bin:") "-b /gnu:")
|
|
|
|
|
;; Others try to run /bin/sh.
|
|
|
|
|
(("/bin/sh") (which "sh"))
|
|
|
|
|
;; Others assume /etc/fstab exists.
|
|
|
|
|
(("/etc/fstab") "/etc/passwd"))
|
|
|
|
|
|
|
|
|
|
(substitute* "tests/GNUmakefile"
|
|
|
|
|
(("-b /bin:") "-b /gnu:"))
|
|
|
|
|
|
|
|
|
|
;; XXX: This test fails in an obscure corner case, just
|
|
|
|
|
;; skip it.
|
|
|
|
|
(delete-file "tests/test-kkkkkkkk.c")
|
|
|
|
|
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((n (parallel-job-count)))
|
|
|
|
|
;; For some reason we get lots of segfaults with
|
|
|
|
|
;; seccomp support (x86_64, Linux-libre 4.11.0).
|
|
|
|
|
(setenv "PROOT_NO_SECCOMP" "1")
|
|
|
|
|
|
|
|
|
|
;; Most of the tests expect "/bin" to be in $PATH so
|
|
|
|
|
;; they can run things that live in $ROOTFS/bin.
|
|
|
|
|
(setenv "PATH"
|
|
|
|
|
(string-append (getenv "PATH") ":/bin"))
|
|
|
|
|
|
2018-03-16 07:21:49 +01:00
|
|
|
|
(invoke "make" "check" "-C" "tests"
|
|
|
|
|
;;"V=1"
|
|
|
|
|
"-j" (number->string n)))))
|
2017-05-11 17:48:58 +02:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; The 'install' rule does nearly nothing.
|
2018-03-16 07:21:49 +01:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man1 (string-append out "/share/man/man1")))
|
|
|
|
|
;; TODO: 'make install-care' (does not even
|
|
|
|
|
;; build currently.)
|
|
|
|
|
(invoke "make" "-C" "src" "install"
|
|
|
|
|
(string-append "PREFIX=" out))
|
|
|
|
|
|
|
|
|
|
(mkdir-p man1)
|
|
|
|
|
(copy-file "doc/proot/man.1"
|
|
|
|
|
(string-append man1 "/proot.1"))
|
|
|
|
|
#t))))))
|
2017-05-11 17:48:58 +02:00
|
|
|
|
(native-inputs `(("which" ,which)
|
|
|
|
|
|
|
|
|
|
;; For 'mcookie', used by some of the tests.
|
2020-05-11 12:52:43 +02:00
|
|
|
|
("util-linux" ,util-linux)
|
|
|
|
|
|
|
|
|
|
;; XXX: Choose the old coreutils because its 'stat'
|
|
|
|
|
;; program does not use statx(2) when running 'stat -c
|
|
|
|
|
;; %a' or similar, which PRoot doesn't properly support.
|
|
|
|
|
("coreutils-old" ,coreutils-8.30)
|
|
|
|
|
|
|
|
|
|
;; XXX: 'test-c6b77b77.sh' runs 'make' and that leads
|
|
|
|
|
;; make 4.3 to segfault.
|
|
|
|
|
("make-old" ,gnu-make-4.2)))
|
2017-05-11 17:48:58 +02:00
|
|
|
|
(inputs `(("talloc" ,talloc)))
|
2019-05-17 03:26:35 +02:00
|
|
|
|
(home-page "https://github.com/proot-me/PRoot")
|
2017-05-11 17:48:58 +02:00
|
|
|
|
(synopsis "Unprivileged chroot, bind mount, and binfmt_misc")
|
|
|
|
|
(description
|
|
|
|
|
"PRoot is a user-space implementation of @code{chroot}, @code{mount --bind},
|
|
|
|
|
and @code{binfmt_misc}. This means that users don't need any privileges or
|
|
|
|
|
setup to do things like using an arbitrary directory as the new root
|
2018-01-19 16:25:13 +01:00
|
|
|
|
file system, making files accessible somewhere else in the file system
|
2017-05-11 17:48:58 +02:00
|
|
|
|
hierarchy, or executing programs built for another CPU architecture
|
|
|
|
|
transparently through QEMU user-mode. Also, developers can use PRoot as a
|
|
|
|
|
generic process instrumentation engine thanks to its extension mechanism.
|
|
|
|
|
Technically PRoot relies on @code{ptrace}, an unprivileged system-call
|
|
|
|
|
available in the kernel Linux.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-05-12 11:55:14 +02:00
|
|
|
|
|
|
|
|
|
(define-public proot-static
|
|
|
|
|
(package
|
|
|
|
|
(inherit proot)
|
|
|
|
|
(name "proot-static")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Unprivileged chroot, bind mount, and binfmt_misc (statically linked)")
|
|
|
|
|
(inputs `(("talloc" ,talloc/static)))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments proot)
|
|
|
|
|
((#:make-flags flags)
|
|
|
|
|
`(cons "LDFLAGS = -ltalloc -static -static-libgcc" ,flags))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'strip 'remove-store-references
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(with-directory-excursion out
|
|
|
|
|
(remove-store-references "bin/proot")
|
|
|
|
|
#t))))))
|
|
|
|
|
((#:allowed-references _ '("out"))
|
|
|
|
|
'("out"))))))
|
2017-05-25 20:02:45 +02:00
|
|
|
|
|
|
|
|
|
(define-public cpuid
|
|
|
|
|
(package
|
|
|
|
|
(name "cpuid")
|
2020-10-14 12:05:59 +02:00
|
|
|
|
(version "20201006")
|
2017-05-25 20:02:45 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.etallen.com/cpuid/cpuid-"
|
|
|
|
|
version ".src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-14 12:05:59 +02:00
|
|
|
|
"19jnkh57f979b78ak5mpxmdvnkgc33r55cw9shgd2hc380b3zi8k"))))
|
2017-05-25 20:02:45 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-10-16 06:00:34 +02:00
|
|
|
|
`(#:make-flags
|
2020-10-14 14:17:13 +02:00
|
|
|
|
(list (string-append "CC=" ,(cc-for-target)))
|
2018-04-27 00:51:02 +02:00
|
|
|
|
#:tests? #f ; no tests
|
2017-05-25 20:02:45 +02:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
2018-04-27 00:51:02 +02:00
|
|
|
|
(delete 'configure) ; no configure script
|
2017-05-25 20:02:45 +02:00
|
|
|
|
(add-before 'install 'fix-makefile
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\(BUILDROOT\\)/usr") (assoc-ref outputs "out")))
|
|
|
|
|
;; Make the compressed manpages writable so that the
|
|
|
|
|
;; reset-gzip-timestamps phase does not error out.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("-m 444") "-m 644"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs `(("perl" ,perl)))
|
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
|
|
|
|
(home-page "http://www.etallen.com/cpuid.html")
|
|
|
|
|
(synopsis "Linux tool to dump x86 CPUID information about the CPU(s)")
|
|
|
|
|
(description "cpuid dumps detailed information about the CPU(s) gathered
|
|
|
|
|
from the CPUID instruction, and also determines the exact model of CPU(s). It
|
|
|
|
|
supports Intel, AMD, and VIA CPUs, as well as older Transmeta, Cyrix, UMC,
|
|
|
|
|
NexGen, Rise, and SiS CPUs.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-06-24 00:46:02 +02:00
|
|
|
|
|
|
|
|
|
(define-public jmtpfs
|
|
|
|
|
(package
|
|
|
|
|
(name "jmtpfs")
|
|
|
|
|
(version "0.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-06-24 09:29:54 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/JasonFerrara/jmtpfs")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-06-24 00:46:02 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-24 09:29:54 +02:00
|
|
|
|
"1pm68agkhrwgrplrfrnbwdcvx5lrivdmqw8pb5gdmm3xppnryji1"))))
|
2017-06-24 00:46:02 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("file" ,file)
|
|
|
|
|
("fuse" ,fuse)
|
|
|
|
|
("libmtp" ,libmtp)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://github.com/JasonFerrara/jmtpfs")
|
2018-01-19 16:25:13 +01:00
|
|
|
|
(synopsis "Use a FUSE file system to access data over MTP")
|
|
|
|
|
(description "jmtpfs uses FUSE (file system in userspace) to provide access
|
2017-06-24 00:46:02 +02:00
|
|
|
|
to data over the Media Transfer Protocol (MTP). Unprivileged users can mount
|
2018-01-19 16:25:13 +01:00
|
|
|
|
the MTP device as a file system.")
|
2017-06-24 00:46:02 +02:00
|
|
|
|
(license license:gpl3)))
|
2017-06-26 16:28:12 +02:00
|
|
|
|
|
|
|
|
|
(define-public procenv
|
|
|
|
|
(package
|
|
|
|
|
(name "procenv")
|
2019-12-04 04:54:30 +01:00
|
|
|
|
(version "0.51")
|
2017-06-26 16:28:12 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-06-24 09:26:20 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jamesodhunt/procenv")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-06-26 16:28:12 +02:00
|
|
|
|
(sha256
|
2020-06-24 09:26:20 +02:00
|
|
|
|
(base32 "1ilrsw1rc85w29mkbkmm5n5w427gapv43yrjzvkb4kc9xhscgdjn"))))
|
2017-06-26 16:28:12 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments `(#:configure-flags '("--disable-silent-rules")))
|
2020-07-25 12:57:40 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
|
|
|
|
|
;; For tests.
|
|
|
|
|
("check" ,check)
|
|
|
|
|
("groff" ,groff)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("libcap" ,libcap)
|
|
|
|
|
("libselinux" ,libselinux)))
|
2017-06-26 16:28:12 +02:00
|
|
|
|
(synopsis "Utility to show process environment")
|
|
|
|
|
(description "Procenv is a command-line tool that displays as much detail about
|
|
|
|
|
itself and its environment as possible. It can be used as a test
|
|
|
|
|
tool, to understand the type of environment a process runs in, and for
|
|
|
|
|
comparing system environments.")
|
gnu: Use HTTPS for github.com (and subdomains) home pages.
* gnu/packages/bioconductor.scm (r-qvalue)[home-page]: Use HTTPS and
follow permanent redirection.
* gnu/packages/check.scm (python-codecov, python-nosexcover)
[home-page]: Likewise.
* gnu/packages/cran.scm (r-ffbase, r-ggrepel, r-valr)
[home-page]: Likewise.
* gnu/packages/crates-io.scm (rust-block-0.1, rust-dispatch-0.1)
(rust-objc-0.2, rust-objc-exception-0.1)
(rust-objc-foundation-0.1, rust-objc-id-0.1, rust-objc-test-utils-0.0)
(rust-onig-5.0, rust-onig-sys-69.2, rust-vergen-3.1)
[home-page]: Likewise.
* gnu/packages/finance.scm (ledger-agent, keepkey-agent)
[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-tasty-expected-failure)
[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-bsb-http-chunked, ghc-warp)
(ghc-warp-tls)[home-page]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-configurator, ghc-hasktags)
(ghc-linear, ghc-newtype-generics, ghc-retry, ghc-xdg-basedir)
(ghc-pretty-show)[home-page]: Likewise.
* gnu/packages/java.scm (java-javax-inject)[home-page]: Likewise.
* gnu/packages/libffi.scm (ruby-ffi)[home-page]: Likewise.
* gnu/packages/linux.scm (procenv)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-aiodns, python-flask-htpasswd)
(python-pycares)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-progressbar33, python-whatever)
(python-funcy)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-rubyzip, ruby-spinach, ruby-gherkin-ruby)
(ruby-code-statistics, ruby-colorize, ruby-wwtd)[home-page]: Likewise.
2020-07-16 18:20:30 +02:00
|
|
|
|
(home-page "https://github.com/jamesodhunt/procenv/")
|
2017-06-26 16:28:12 +02:00
|
|
|
|
(license license:gpl3+)))
|
2017-08-02 15:22:49 +02:00
|
|
|
|
|
|
|
|
|
(define-public libfabric
|
|
|
|
|
(package
|
|
|
|
|
(name "libfabric")
|
|
|
|
|
(version "1.4.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://github.com/ofiwg/libfabric/releases/download/v"
|
|
|
|
|
version "/libfabric-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "19l2m1frna1l765z4j7wl8hp4rb9wrh0hy5496685hd183hmy5pv"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("rdma-core" ,rdma-core)
|
2017-11-07 19:26:34 +01:00
|
|
|
|
,@(match (%current-system)
|
|
|
|
|
((member (package-supported-systems psm))
|
|
|
|
|
`(("psm" ,psm)))
|
|
|
|
|
(_ `()))
|
2017-08-02 15:22:49 +02:00
|
|
|
|
("libnl" ,libnl)))
|
|
|
|
|
(home-page "https://ofiwg.github.io/libfabric/")
|
|
|
|
|
(synopsis "Open Fabric Interfaces")
|
|
|
|
|
(description
|
|
|
|
|
"OpenFabrics Interfaces (OFI) is a framework focused on exporting fabric
|
|
|
|
|
communication services to applications. OFI is best described as a collection
|
|
|
|
|
of libraries and applications used to export fabric services. The key
|
|
|
|
|
components of OFI are: application interfaces, provider libraries, kernel
|
|
|
|
|
services, daemons, and test applications.
|
|
|
|
|
|
|
|
|
|
Libfabric is a core component of OFI. It is the library that defines and
|
|
|
|
|
exports the user-space API of OFI, and is typically the only software that
|
|
|
|
|
applications deal with directly. It works in conjunction with provider
|
|
|
|
|
libraries, which are often integrated directly into libfabric.")
|
|
|
|
|
(license (list license:bsd-2 license:gpl2)))) ;dual
|
2017-11-07 17:57:47 +01:00
|
|
|
|
|
|
|
|
|
(define-public psm
|
|
|
|
|
(package
|
|
|
|
|
(name "psm")
|
|
|
|
|
(version "3.3.20170428")
|
2017-12-18 17:00:24 +01:00
|
|
|
|
(home-page "https://github.com/intel/psm")
|
2017-11-07 17:57:47 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
2017-12-18 17:00:24 +01:00
|
|
|
|
(uri (git-reference (url home-page)
|
2017-11-07 17:57:47 +01:00
|
|
|
|
(commit "604758e76dc31e68d1de736ccf5ddf16cb22355b")))
|
|
|
|
|
(file-name (string-append "psm-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0nsb325dmhn5ia3d2cnksqr0gdvrrx2hmvlylfgvmaqdpq76zm85"))
|
|
|
|
|
(patches (search-patches
|
|
|
|
|
"psm-arch.patch" ; uname -p returns "unknown" on Debian 9
|
|
|
|
|
"psm-ldflags.patch" ; build shared lib with LDFLAGS
|
2019-11-28 18:17:14 +01:00
|
|
|
|
"psm-repro.patch" ; reproducibility
|
|
|
|
|
"psm-disable-memory-stats.patch"))))
|
2017-11-07 17:57:47 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2019-11-15 11:22:41 +01:00
|
|
|
|
(outputs '("out" "debug"))
|
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-15 00:24:28 +01:00
|
|
|
|
(inputs `(("libuuid" ,util-linux "lib")))
|
2017-11-07 17:57:47 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags `("PSM_USE_SYS_UUID=1" "CC=gcc" "WERROR="
|
|
|
|
|
,(string-append "INSTALL_PREFIX=" %output)
|
|
|
|
|
,(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'patch-/usr/include
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\{DESTDIR}/usr/include")
|
|
|
|
|
(string-append %output "/include")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/lib64") "/lib"))
|
2019-02-01 06:03:35 +01:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'patch-sysmacros
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "ipath/ipath_proto.c"
|
|
|
|
|
(("#include <sys/poll.h>" m)
|
|
|
|
|
(string-append m "\n"
|
|
|
|
|
"#include <sys/sysmacros.h>")))
|
2017-11-07 17:57:47 +01:00
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Intel Performance Scaled Messaging (PSM) Libraries")
|
|
|
|
|
(description
|
|
|
|
|
"The PSM Messaging API, or PSM API, is Intel's low-level user-level
|
|
|
|
|
communications interface for the True Scale family of products. PSM users are
|
|
|
|
|
enabled with mechanisms necessary to implement higher level communications
|
|
|
|
|
interfaces in parallel environments.")
|
2017-11-07 19:15:47 +01:00
|
|
|
|
;; Only Intel-compatable processors are supported.
|
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
2017-11-07 17:57:47 +01:00
|
|
|
|
(license (list license:bsd-2 license:gpl2)))) ;dual
|
2017-12-09 22:01:11 +01:00
|
|
|
|
|
|
|
|
|
(define-public snapscreenshot
|
|
|
|
|
(package
|
|
|
|
|
(name "snapscreenshot")
|
|
|
|
|
(version "1.0.14.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://bisqwit.iki.fi/src/arch/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0gzvqsbf6a2sbd1mqvj1lbm57i2bm5k0cr6ncr821d1f32gw03mk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "BINDIR=" out "/bin")
|
|
|
|
|
(string-append "MANDIR=" out "/share/man")))
|
|
|
|
|
#:tests? #f ; no test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; ./configure is a snarky no-op
|
|
|
|
|
(add-before 'install 'fix-ownership
|
|
|
|
|
;; Install binaries owned by ‘root’ instead of the nonexistent ‘bin’.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "depfun.mak"
|
|
|
|
|
((" -o bin -g bin ") " "))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'create-output-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/share/man/man1"))
|
|
|
|
|
#t))))))
|
2018-01-15 07:29:02 +01:00
|
|
|
|
(home-page "https://bisqwit.iki.fi/source/snapscreenshot.html")
|
2017-12-09 22:01:11 +01:00
|
|
|
|
(synopsis "Take screenshots of one or more Linux text consoles")
|
|
|
|
|
(description
|
|
|
|
|
"snapscreenshot saves a screenshot of one or more Linux text consoles as a
|
|
|
|
|
Targa (@dfn{.tga}) image. It can be used by anyone with read access to the
|
|
|
|
|
relevant @file{/dev/vcs*} file(s).")
|
|
|
|
|
(license license:gpl2)))
|
2017-12-09 22:16:08 +01:00
|
|
|
|
|
|
|
|
|
(define-public fbcat
|
|
|
|
|
(package
|
|
|
|
|
(name "fbcat")
|
2018-01-26 22:59:15 +01:00
|
|
|
|
(version "0.5.1")
|
2017-12-09 22:16:08 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/jwilk/fbcat/releases/download/"
|
|
|
|
|
version "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2018-01-26 22:59:15 +01:00
|
|
|
|
(base32 "0pj9hxmwhbz6kmd7847yx2jh1scl9l25zgndyi8s9vlzdkq2q8d7"))))
|
2017-12-09 22:16:08 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
;; The ‘fbgrab’ wrapper can use one of several PPM-to-PNG converters. We
|
|
|
|
|
;; choose netpbm simply because it's the smallest. It still adds ~94 MiB
|
|
|
|
|
;; to an otherwise tiny package, so we put ‘fbgrab’ in its own output.
|
|
|
|
|
`(("pnmtopng" ,netpbm)))
|
|
|
|
|
(outputs (list "out" "fbgrab"))
|
|
|
|
|
(arguments
|
2018-01-26 22:59:15 +01:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
2017-12-09 22:16:08 +01:00
|
|
|
|
#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-after 'build 'qualify-references
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((pnmtopng (assoc-ref inputs "pnmtopng"))
|
|
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "fbgrab"
|
|
|
|
|
(("fbcat" all)
|
|
|
|
|
(string-append out "/bin/" all))
|
|
|
|
|
(("pnmtopng" all)
|
|
|
|
|
(string-append pnmtopng "/bin/" all)))
|
|
|
|
|
#t)))
|
2018-01-26 22:59:15 +01:00
|
|
|
|
(add-after 'install 'split-fbgrab-output
|
2017-12-09 22:16:08 +01:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(out:fbgrab (assoc-ref outputs "fbgrab")))
|
2018-01-26 22:59:15 +01:00
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((old (string-append out "/" file))
|
|
|
|
|
(new (string-append out:fbgrab "/" file)))
|
|
|
|
|
(mkdir-p (dirname new))
|
|
|
|
|
(rename-file old new)))
|
|
|
|
|
(list "bin/fbgrab"
|
|
|
|
|
"share/man/man1/fbgrab.1"))
|
2017-12-09 22:16:08 +01:00
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://jwilk.net/software/fbcat")
|
|
|
|
|
(synopsis "Take a screenshot of the contents of the Linux framebuffer")
|
|
|
|
|
(description
|
|
|
|
|
"fbcat saves the contents of the Linux framebuffer (@file{/dev/fb*}), or
|
|
|
|
|
a dump therof. It supports a wide range of drivers and pixel formats.
|
|
|
|
|
@command{fbcat} can take screenshots of virtually any application that can be
|
|
|
|
|
made to write its output to the framebuffer, including (but not limited to)
|
|
|
|
|
text-mode or graphical applications that don't use a display server.
|
|
|
|
|
|
|
|
|
|
Also included is @command{fbgrab}, a wrapper around @command{fbcat} that
|
|
|
|
|
emulates the behaviour of Gunnar Monell's older fbgrab utility.")
|
|
|
|
|
(license license:gpl2)))
|
2018-04-07 12:47:20 +02:00
|
|
|
|
|
|
|
|
|
(define-public libcgroup
|
|
|
|
|
(package
|
|
|
|
|
(name "libcgroup")
|
|
|
|
|
(version "0.41")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/libcg/" name "/"
|
|
|
|
|
version "/" name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0lgvyq37gq84sk30sg18admxaj0j0p5dq3bl6g74a1ppgvf8pqz4"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("linux-pam" ,linux-pam)))
|
|
|
|
|
(home-page "https://sourceforge.net/projects/libcg/")
|
|
|
|
|
(synopsis "Control groups management tools")
|
|
|
|
|
(description "Control groups is Linux kernel method for process resource
|
|
|
|
|
restriction, permission handling and more. This package provides userspace
|
|
|
|
|
interface to this kernel feature.")
|
|
|
|
|
(license license:lgpl2.1)))
|
2018-04-15 05:34:48 +02:00
|
|
|
|
|
|
|
|
|
(define-public mbpfan
|
|
|
|
|
(package
|
|
|
|
|
(name "mbpfan")
|
2019-05-08 23:19:57 +02:00
|
|
|
|
(version "2.1.1")
|
2018-04-15 05:34:48 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-09-24 01:44:50 +02: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/dgraziotin/mbpfan")
|
2018-09-24 01:44:50 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-04-15 05:34:48 +02:00
|
|
|
|
(sha256
|
2019-05-08 23:19:57 +02:00
|
|
|
|
(base32 "0aijyxrqh01x0s80yr4cgxgd001iiqqph65pxvby7f0wz8lnxnqj"))))
|
2018-04-15 05:34:48 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-06-03 01:31:27 +02:00
|
|
|
|
`(#:tests? #f ; tests ask to be run as root
|
2018-04-15 05:34:48 +02:00
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "DESTDIR=" out)
|
2020-06-03 01:31:27 +02:00
|
|
|
|
,(string-append "CC=" (cc-for-target))))
|
2018-04-15 05:34:48 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr") ""))
|
|
|
|
|
#t))
|
2018-09-24 01:41:39 +02:00
|
|
|
|
(delete 'configure)))) ; there's no configure phase
|
2018-04-15 05:34:48 +02:00
|
|
|
|
(home-page "https://github.com/dgraziotin/mbpfan")
|
|
|
|
|
(synopsis "Control fan speed on Macbooks")
|
|
|
|
|
(description
|
|
|
|
|
"mbpfan is a fan control daemon for Apple Macbooks. It uses input from
|
|
|
|
|
the @code{coretemp} module and sets the fan speed using the @code{applesmc}
|
|
|
|
|
module. It can be executed as a daemon or in the foreground with root
|
|
|
|
|
privileges.")
|
|
|
|
|
(license license:gpl3+)))
|
2018-04-25 13:48:50 +02:00
|
|
|
|
|
|
|
|
|
(define-public psm2
|
|
|
|
|
(package
|
|
|
|
|
(name "psm2")
|
2019-10-18 17:42:20 +02:00
|
|
|
|
(version "11.2.86")
|
2018-04-25 13:48:50 +02: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/intel/opa-psm2")
|
2018-04-25 13:48:50 +02:00
|
|
|
|
(commit (string-append "PSM2_" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-10-18 17:42:20 +02:00
|
|
|
|
"1hiqzcmc97lzhaqjva82vf8irgg038cciypsv2brw90ak09n6vwf"))))
|
2018-04-25 13:48:50 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
`(,(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'patch-Makefiles
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/lib64") "/lib")
|
|
|
|
|
(("/usr") ""))
|
|
|
|
|
(substitute* "compat/Makefile"
|
|
|
|
|
(("/lib64") "/lib")
|
|
|
|
|
(("/usr") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "DESTDIR" %output)
|
|
|
|
|
(invoke "make" "install")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("rdma-core" ,rdma-core)
|
|
|
|
|
("numactl" ,numactl)))
|
|
|
|
|
(synopsis "Intel Performance Scaled Messaging 2 (PSM2) library")
|
|
|
|
|
(description
|
|
|
|
|
"This package is low-level user-level Intel's communications interface.
|
|
|
|
|
The PSM2 API is a high-performance vendor-specific protocol that provides a
|
|
|
|
|
low-level communications interface for the Intel Omni-Path family of
|
|
|
|
|
high-speed networking devices.")
|
|
|
|
|
(home-page "https://github.com/intel/opa-psm2")
|
|
|
|
|
;; Only the x86_64 architecure is supported.
|
|
|
|
|
(supported-systems '("x86_64-linux"))
|
|
|
|
|
(license (list license:bsd-3 license:gpl2)))) ; dual
|
2018-04-20 17:30:57 +02:00
|
|
|
|
|
|
|
|
|
(define-public libpfm4
|
|
|
|
|
(package
|
|
|
|
|
(name "libpfm4")
|
|
|
|
|
(version "4.9.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/perfmon2/"
|
|
|
|
|
name "/libpfm-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qp4g4n6dw42p2w5rkwzdb7ynk8h7g5vg01ybpmvxncgwa7bw3yv"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:modules ((guix build utils)
|
|
|
|
|
(guix build gnu-build-system))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
(invoke "make")
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(invoke "make"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
"install")
|
|
|
|
|
#t))))))
|
|
|
|
|
(synopsis "Performance event monitoring library")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a library called libpfm4, which is used to develop
|
|
|
|
|
monitoring tools exploiting the performance monitoring events such as those
|
|
|
|
|
provided by the Performance Monitoring Unit (PMU) of modern processors.
|
|
|
|
|
|
|
|
|
|
Libpfm4 helps convert from an event name, expressed as a string, to the event
|
|
|
|
|
encoding that is either the raw event as documented by the hardware vendor or
|
|
|
|
|
the OS-specific encoding. In the latter case, the library is able to prepare
|
|
|
|
|
the OS-specific data structures needed by the kernel to setup the event.
|
|
|
|
|
|
|
|
|
|
libpfm4 provides support for the @code{perf_events} interface, which was
|
|
|
|
|
introduced in Linux 2.6.31.")
|
|
|
|
|
(home-page "http://perfmon2.sourceforge.net/")
|
|
|
|
|
(license license:expat)))
|
2018-06-07 16:01:39 +02:00
|
|
|
|
|
|
|
|
|
(define-public libnfnetlink
|
|
|
|
|
(package
|
|
|
|
|
(name "libnfnetlink")
|
|
|
|
|
(version "1.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://www.netfilter.org/projects/libnfnetlink/files/"
|
|
|
|
|
"libnfnetlink-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"06mm2x4b01k3m7wnrxblk9j0mybyr4pfz28ml7944xhjx6fy2w7j"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://www.netfilter.org/projects/libnfnetlink/")
|
|
|
|
|
(synopsis "Low-level netfilter netlink communication library")
|
|
|
|
|
(description
|
|
|
|
|
"@code{libnfnetlink} is the low-level library for netfilter related
|
|
|
|
|
kernel/userspace communication. It provides a generic messaging
|
|
|
|
|
infrastructure for in-kernel netfilter subsystems (such as nfnetlink_log,
|
|
|
|
|
nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or
|
|
|
|
|
management tools in userspace.")
|
|
|
|
|
(license license:gpl2)))
|
2018-12-28 14:20:49 +01:00
|
|
|
|
|
2019-04-05 07:57:44 +02:00
|
|
|
|
(define-public go-netlink
|
|
|
|
|
(package
|
|
|
|
|
(name "go-netlink")
|
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/vishvananda/netlink")
|
2019-04-05 07:57:44 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0hpzghf1a4cwawzhkiwdzin80h6hd09fskl77d5ppgc084yvj8x0"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/vishvananda/netlink"))
|
|
|
|
|
(native-inputs
|
gnu: Go standard library 'x' packages: Consolidate.
* gnu/packages/golang.scm (go-golang-org-x-text, go-golang-org-x-sys, go-golang-org-x-net,
go-golang-org-x-time): New variables.
(go-golang.org-x-crypto-ssh-terminal, go-golang-org-x-crypto-bcrypt,
go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2,
go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20,
go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish,
go-golang-org-x-crypto-xtea, go-golang-org-x-crypto-ed25519,
go-golang-org-x-crypto-ripemd160, go-golang-org-x-crypto-blake2s,
go-golang-org-x-crypto-sha3, go-golang-org-x-text-encoding,
go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm,
go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf, go-golang-org-x-net-context,
go-golang-org-x-net-internal-socks, go-golang-org-x-net-internal-socket,
go-golang-org-x-net-internal-iana, go-golang-org-x-net-ipv6,
go-golang-org-x-net-proxy, go-golang-org-x-sys-cpu, go-golang-org-x-sys-unix,
go-golang-org-x-time-rate): Remove variables.
(go-github-com-sirupsen-logrus, go-github-com-docker-distribution,
go-github-com-libp2p-go-libp2p-crypto,
go-github-com-multiformats-go-multihash,
go-github-com-libp2p-go-libp2p-peer,
go-github-com-libp2p-go-libp2p-metrics,
go-github-com-multiformats-go-multiaddr,
go-github-com-multiformats-go-multiaddr-net,
go-github-com-mattn-go-isatty, go-github-com-gdamore-encoding,
go-github-com-gdamore-tcell): Adjust accordingly.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Likewise.
* gnu/packages/databases.scm (mongo-tools): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise.
* gnu/packages/web.scm (poussetaches): Likewise.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf,
go-github.com-howeyc-gopass): Likewise.
(go-golang.org-x-crypto-ssh-terminal): Remove variable.
* gnu/packages/syncthing.scm (syncthing,
go-github-com-oschwald-geoip2-golang,
go-github-com-oschwald-maxminddb-golang,
go-github-com-syncthing-notify): Adjust accordingly.
* gnu/packages/linux.scm (go-netlink): Likewise.
2019-08-14 20:42:50 +02:00
|
|
|
|
`(("go-golang-org-x-sys" ,go-golang-org-x-sys)
|
2019-04-05 07:57:44 +02:00
|
|
|
|
("go-netns" ,go-netns)))
|
|
|
|
|
(home-page "https://github.com/vishvananda/netlink")
|
|
|
|
|
(synopsis "Simple netlink library for Go")
|
|
|
|
|
(description "The netlink package provides a simple netlink library for
|
|
|
|
|
Go. Netlink is the interface a user-space program in Linux uses to
|
|
|
|
|
communicate with the kernel. It can be used to add and remove interfaces, set
|
|
|
|
|
IP addresses and routes, and configure IPsec.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-12-28 14:20:49 +01:00
|
|
|
|
(define-public xfsprogs
|
|
|
|
|
(package
|
|
|
|
|
(name "xfsprogs")
|
2020-11-01 17:40:35 +01:00
|
|
|
|
(version "5.9.0")
|
2018-12-28 14:20:49 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://kernel.org/linux/utils/fs/xfs/xfsprogs/"
|
|
|
|
|
"xfsprogs-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-01 17:40:35 +01:00
|
|
|
|
"13xkn9jpmwp4fm9r68vhgznkmxhnv83n2b39mhy2qdaph90w2a1l"))))
|
2018-12-28 14:20:49 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2019-10-15 00:45:40 +02:00
|
|
|
|
(outputs (list "out" "python"))
|
2018-12-28 14:20:49 +01:00
|
|
|
|
(arguments
|
2019-10-15 00:45:40 +02:00
|
|
|
|
`(#:tests? #f ; kernel/user integration tests are in package "xfstests"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'separate-python-output
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(python (assoc-ref outputs "python")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (script)
|
|
|
|
|
(mkdir-p (string-append python (dirname script)))
|
|
|
|
|
(rename-file (string-append out script)
|
|
|
|
|
(string-append python script)))
|
|
|
|
|
(list "/sbin/xfs_scrub_all"))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'install-headers
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "install-dev"))))))
|
2018-12-28 14:20:49 +01:00
|
|
|
|
(native-inputs
|
2020-01-14 22:37:42 +01:00
|
|
|
|
`(("gettext" ,gettext-minimal)))
|
2019-10-15 00:45:40 +02:00
|
|
|
|
(inputs
|
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-15 00:24:28 +01:00
|
|
|
|
`(("libuuid" ,util-linux "lib")
|
2020-01-14 22:37:42 +01:00
|
|
|
|
("python" ,python-wrapper)))
|
2018-12-28 14:20:49 +01:00
|
|
|
|
(home-page "https://xfs.wiki.kernel.org/")
|
|
|
|
|
(synopsis "XFS file system tools")
|
|
|
|
|
(description "This package provides commands to create and check XFS
|
|
|
|
|
file systems.")
|
|
|
|
|
;; The library "libhandle" and the headers in "xfslibs-dev" are
|
|
|
|
|
;; licensed under lgpl2.1. the other stuff is licensed under gpl2.
|
|
|
|
|
(license (list license:gpl2 license:lgpl2.1))))
|
2019-01-22 16:12:08 +01:00
|
|
|
|
|
|
|
|
|
(define-public genext2fs
|
|
|
|
|
(package
|
|
|
|
|
(name "genext2fs")
|
2019-03-05 13:01:32 +01:00
|
|
|
|
(version "1.4.1-4")
|
2019-01-22 16:12:08 +01: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/jeremie-koenig/genext2fs")
|
2019-03-05 13:01:32 +01:00
|
|
|
|
;; 1.4.1-3 had a VCS tag but 1.4.1-4 doesn't.
|
|
|
|
|
(commit "9ee43894634998b0b2b309d636f25c64314c9421")))
|
2019-01-22 16:12:08 +01:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-03-05 13:01:32 +01:00
|
|
|
|
(base32 "0ib5icn78ciz00zhc1bgdlrwaxvsdz7wnplwblng0jirwi9ml7sq"))))
|
2019-01-22 16:12:08 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2019-03-05 13:01:32 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'apply-debian-patches
|
|
|
|
|
;; Debian changes (the revision after ‘-’ in VERSION) are
|
|
|
|
|
;; maintained as separate patches. Apply those relevant to us.
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file-name)
|
|
|
|
|
(invoke "patch" "-p1" "-i"
|
|
|
|
|
(string-append "debian/patches/" file-name)))
|
|
|
|
|
(list "blocksize+creator.diff" ; add -B/-o options
|
|
|
|
|
"byteswap_fix.diff"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
2019-01-22 16:12:08 +01:00
|
|
|
|
(home-page "https://github.com/jeremie-koenig/genext2fs")
|
2019-04-24 19:31:39 +02:00
|
|
|
|
(synopsis "Generate ext2 file system as a normal user")
|
|
|
|
|
(description "This package provides a program to generate an ext2
|
|
|
|
|
file system as a normal (non-root) user. It does not require you to mount
|
2019-01-22 16:12:08 +01:00
|
|
|
|
the image file to copy files on it, nor does it require that you become
|
|
|
|
|
the superuser to make device nodes.")
|
|
|
|
|
(license license:gpl2)))
|
2019-01-22 16:38:19 +01:00
|
|
|
|
|
|
|
|
|
(define-public fakeroot
|
|
|
|
|
(package
|
|
|
|
|
(name "fakeroot")
|
2020-10-15 20:20:40 +02:00
|
|
|
|
(version "1.25.3")
|
2019-01-22 16:38:19 +01:00
|
|
|
|
(source (origin
|
2020-09-28 18:08:56 +02:00
|
|
|
|
;; There are no tags in the repository, so take this snapshot.
|
2019-01-22 16:38:19 +01:00
|
|
|
|
(method url-fetch)
|
2019-09-10 01:34:39 +02:00
|
|
|
|
(uri (string-append "https://deb.debian.org/debian/pool/main/f/"
|
|
|
|
|
"fakeroot/fakeroot_" version ".orig.tar.gz"))
|
2019-01-22 16:38:19 +01:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-15 20:20:40 +02:00
|
|
|
|
"0v4m3v1bdqvblwj3vqsb3mllgbci6dsgsydq6765nzvz6n1kd44f"))))
|
2019-01-22 16:38:19 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-09-28 18:08:56 +02:00
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The "preroll" script takes care of Autoconf and also
|
|
|
|
|
;; prepares the translated manuals.
|
|
|
|
|
(invoke "sh" "./preroll")))
|
2019-01-22 16:38:19 +01:00
|
|
|
|
(add-after 'configure 'patch-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Note: The root of the problem is already in "Makefile.am".
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t))
|
2020-06-22 20:55:19 +02:00
|
|
|
|
(add-after 'unpack 'patch-script
|
2019-01-22 16:38:19 +01:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "scripts/fakeroot.in"
|
|
|
|
|
(("getopt")
|
|
|
|
|
(string-append (assoc-ref inputs "util-linux")
|
2020-06-22 20:55:19 +02:00
|
|
|
|
"/bin/getopt"))
|
|
|
|
|
(("sed")
|
|
|
|
|
(string-append (assoc-ref inputs "sed")
|
|
|
|
|
"/bin/sed"))
|
|
|
|
|
(("cut")
|
|
|
|
|
(string-append (assoc-ref inputs "coreutils")
|
|
|
|
|
"/bin/cut")) )
|
2019-01-22 16:38:19 +01:00
|
|
|
|
#t))
|
2019-02-20 17:00:27 +01:00
|
|
|
|
(add-before 'configure 'setenv
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "LIBS" "-lacl")
|
|
|
|
|
#t))
|
2019-01-22 16:38:19 +01:00
|
|
|
|
(add-before 'check 'prepare-check
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "SHELL" (which "bash"))
|
|
|
|
|
(setenv "VERBOSE" "1")
|
|
|
|
|
(substitute* "test/t.touchinstall"
|
|
|
|
|
;; We don't have the name of the root user, so use ID=0.
|
|
|
|
|
(("grep root") "grep \"\\<0\\>\""))
|
|
|
|
|
(substitute* "test/tartest"
|
|
|
|
|
;; We don't have the name of the root group, so use ID=0.
|
|
|
|
|
(("ROOTGROUP=root") "ROOTGROUP=0")
|
|
|
|
|
;; We don't have the name of the daemon user, so use IDs.
|
|
|
|
|
(("daemon:sys") "1:3")
|
|
|
|
|
(("daemon:") "1:"))
|
|
|
|
|
;; We don't have an /etc/passwd entry for "root" - use numeric IDs.
|
|
|
|
|
(substitute* "test/compare-tar"
|
|
|
|
|
(("tar -tvf") "tar --numeric-owner -tvf"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
2020-09-28 18:08:56 +02:00
|
|
|
|
`(;; For bootstrapping the package.
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("po4a" ,po4a)
|
|
|
|
|
|
|
|
|
|
;; For tests.
|
|
|
|
|
("sharutils" ,sharutils)
|
|
|
|
|
("xz" ,xz)))
|
2019-01-22 16:38:19 +01:00
|
|
|
|
(inputs
|
2020-09-28 18:08:56 +02:00
|
|
|
|
`(("acl" ,acl)
|
2020-10-11 16:56:36 +02:00
|
|
|
|
("libcap" ,libcap)
|
2020-06-22 20:55:19 +02:00
|
|
|
|
("util-linux" ,util-linux)
|
|
|
|
|
("sed" ,sed)
|
|
|
|
|
("coreutils" ,coreutils)))
|
2019-01-22 16:38:19 +01:00
|
|
|
|
(synopsis "Provides a fake root environment")
|
|
|
|
|
(description "@command{fakeroot} runs a command in an environment where
|
|
|
|
|
it appears to have root privileges for file manipulation. This is useful
|
|
|
|
|
for allowing users to create archives (tar, ar, .deb etc.) with files in
|
|
|
|
|
them with root permissions/ownership. Without fakeroot one would have to
|
|
|
|
|
have root privileges to create the constituent files of the archives with
|
|
|
|
|
the correct permissions and ownership, and then pack them up, or one would
|
|
|
|
|
have to construct the archives directly, without using the archiver.")
|
|
|
|
|
(home-page "http://freshmeat.sourceforge.net/projects/fakeroot")
|
|
|
|
|
(license license:gpl3+)))
|
2019-01-05 20:55:14 +01:00
|
|
|
|
|
2020-05-07 22:28:32 +02:00
|
|
|
|
(define-public fakechroot
|
|
|
|
|
(package
|
|
|
|
|
(name "fakechroot")
|
|
|
|
|
(version "2.20.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/dex4er/fakechroot/releases/download/"
|
|
|
|
|
version "/fakechroot-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1aijkd0b45wav25v01qhw8zxwa3pl0nnp9fabmmy1nlx7hr09gas"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; XXX: The tests heavily assume they run on an FHS system so for now
|
|
|
|
|
;; skip them.
|
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:configure-flags '("--disable-static")))
|
|
|
|
|
(synopsis "Emulate @code{chroot} by overriding file system calls")
|
|
|
|
|
(description
|
|
|
|
|
"@command{fakechroot} runs a command in an environment were is additional
|
|
|
|
|
possibility to use @code{chroot} command without root privileges. This is
|
|
|
|
|
useful for allowing users to create own chrooted environment with possibility
|
|
|
|
|
to install another packages without need for root privileges.
|
|
|
|
|
|
|
|
|
|
It works by providing @file{libfakechroot.so}, a shared library meant to be
|
|
|
|
|
set as @code{LD_PRELOAD} to override the C library file system functions.")
|
|
|
|
|
(home-page "https://github.com/dex4er/fakechroot/")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2019-01-05 20:55:14 +01:00
|
|
|
|
(define-public inputattach
|
|
|
|
|
(package
|
|
|
|
|
(name "inputattach")
|
|
|
|
|
(version "0.42.0")
|
|
|
|
|
(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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/linuxwacom/input-wacom")
|
2019-01-05 20:55:14 +01:00
|
|
|
|
(commit (string-append "input-wacom-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "04lnn7v0rm4ppbya140im5d4igcl6c1nrqpgbsr0i8wkral0nv7j"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'bootstrap)
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion "inputattach"
|
|
|
|
|
(invoke (string-append (assoc-ref inputs "gcc")
|
|
|
|
|
"/bin/gcc")
|
2019-03-18 10:21:50 +01:00
|
|
|
|
"-O2" "-o" "inputattach" "inputattach.c"))
|
2019-01-05 20:55:14 +01:00
|
|
|
|
#t))
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((target-dir (string-append
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/bin/")))
|
|
|
|
|
(mkdir-p target-dir)
|
|
|
|
|
(copy-file "inputattach/inputattach"
|
|
|
|
|
(string-append target-dir
|
|
|
|
|
"inputattach"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://linuxwacom.github.io/")
|
|
|
|
|
(synopsis "Dispatch input peripherals events to a device file")
|
|
|
|
|
(description "inputattach dispatches input events from several device
|
|
|
|
|
types and interfaces and translates so that the X server can use them.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-09-26 23:44:30 +02:00
|
|
|
|
|
2019-07-24 02:43:56 +02:00
|
|
|
|
(define-public pipewire
|
|
|
|
|
(package
|
|
|
|
|
(name "pipewire")
|
2019-11-02 14:46:54 +01:00
|
|
|
|
(version "0.2.7")
|
2019-07-24 02:43:56 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/PipeWire/pipewire")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-02 14:46:54 +01:00
|
|
|
|
"1q5wrqnhhs6r49p8yvkw1pl0cnsd4rndxy4h5lvdydwgf1civcwc"))))
|
2019-07-24 02:43:56 +02:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("-Dsystemd=false")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("eudev" ,eudev)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
|
|
|
|
("libva" ,libva)
|
|
|
|
|
("sbc" ,sbc)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(home-page "https://pipewire.org/")
|
|
|
|
|
(synopsis "Server and user space API to deal with multimedia pipelines")
|
|
|
|
|
(description
|
|
|
|
|
"PipeWire is a project that aims to greatly improve handling of audio and
|
|
|
|
|
video under Linux. It aims to support the usecases currently handled by both
|
|
|
|
|
PulseAudio and Jack and at the same time provide same level of powerful handling
|
|
|
|
|
of Video input and output. It also introduces a security model that makes
|
|
|
|
|
interacting with audio and video devices from containerized applications easy,
|
|
|
|
|
with supporting Flatpak applications being the primary goal. Alongside Wayland
|
|
|
|
|
and Flatpak we expect PipeWire to provide a core building block for the future
|
|
|
|
|
of Linux application development.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
|
|
|
|
|
2020-07-14 10:18:51 +02:00
|
|
|
|
(define-public pipewire-0.3
|
|
|
|
|
(package
|
|
|
|
|
(inherit pipewire)
|
|
|
|
|
(name "pipewire")
|
2020-10-06 15:10:37 +02:00
|
|
|
|
(version "0.3.13")
|
2020-07-14 10:18:51 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/PipeWire/pipewire")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-06 15:10:37 +02:00
|
|
|
|
"19j5kmb7iaivkq2agfzncfm2qms41ckqi0ddxvhpc91ihwprdc5w"))))
|
2020-07-14 10:18:51 +02:00
|
|
|
|
(arguments
|
2020-08-26 16:28:26 +02:00
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append "-Dudevrulesdir=" (assoc-ref %outputs "out")
|
|
|
|
|
"/lib/udev/rules.d")
|
|
|
|
|
"-Dsystemd=false")
|
2020-07-14 10:18:51 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-08-26 16:28:26 +02:00
|
|
|
|
;; Skip shrink-runpath, otherwise validate-runpath fails.
|
2020-07-14 10:18:51 +02:00
|
|
|
|
(delete 'shrink-runpath))))
|
|
|
|
|
(inputs
|
|
|
|
|
(append (package-inputs pipewire)
|
|
|
|
|
`(("bluez" ,bluez)
|
|
|
|
|
("jack" ,jack-2)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("vulkan-loader" ,vulkan-loader)
|
|
|
|
|
("vulkan-headers" ,vulkan-headers))))))
|
|
|
|
|
|
2019-09-26 23:44:30 +02:00
|
|
|
|
(define-public ell
|
|
|
|
|
(package
|
|
|
|
|
(name "ell")
|
|
|
|
|
(version "0.23")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.kernel.org/pub/scm/libs/ell/ell.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qhlcwhn0gj877yss2ymx1aczghlddzb5v9mm1dgp2zliii3jy10"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-dbus-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("unit/test-dbus-message-fds.c"
|
|
|
|
|
"unit/test-dbus-properties.c"
|
|
|
|
|
"unit/test-dbus.c")
|
|
|
|
|
(("/usr/bin/dbus-daemon") (which "dbus-daemon")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2020-04-04 12:08:07 +02:00
|
|
|
|
`(("dbus" ,dbus)))
|
2019-09-26 23:44:30 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
2020-04-04 12:08:07 +02:00
|
|
|
|
("libtool" ,libtool)
|
2019-09-26 23:44:30 +02:00
|
|
|
|
("pkgconfig" ,pkg-config)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(home-page "https://01.org/ell")
|
|
|
|
|
(synopsis "Embedded Linux Library")
|
|
|
|
|
(description "The Embedded Linux* Library (ELL) provides core, low-level
|
|
|
|
|
functionality for system daemons. It typically has no dependencies other than
|
|
|
|
|
the Linux kernel, C standard library, and libdl (for dynamic linking). While
|
|
|
|
|
ELL is designed to be efficient and compact enough for use on embedded Linux
|
|
|
|
|
platforms, it is not limited to resource-constrained systems.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2020-02-27 14:06:57 +01:00
|
|
|
|
|
|
|
|
|
(define-public lttng-ust
|
|
|
|
|
(package
|
|
|
|
|
(name "lttng-ust")
|
|
|
|
|
(version "2.11.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://lttng.org/files/lttng-ust/"
|
|
|
|
|
"lttng-ust-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1n646yz7882svf5a4ay3vqiiz3qjn3pgkkij9kk22871wp7q0ck8"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("liburcu" ,liburcu)
|
|
|
|
|
("numactl" ,numactl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-3)))
|
|
|
|
|
(home-page "https://lttng.org/")
|
|
|
|
|
(synopsis "LTTng userspace tracer libraries")
|
|
|
|
|
(description "The user space tracing library, liblttng-ust, is the LTTng
|
|
|
|
|
user space tracer. It receives commands from a session daemon, for example to
|
|
|
|
|
enable and disable specific instrumentation points, and writes event records
|
|
|
|
|
to ring buffers shared with a consumer daemon.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2020-03-03 12:35:06 +01:00
|
|
|
|
|
|
|
|
|
(define-public kexec-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "kexec-tools")
|
|
|
|
|
(version "2.0.20")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org/linux/utils/kernel"
|
|
|
|
|
"/kexec/kexec-tools-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1j7qlhxk1rbv9jbj8wd6hb7zl8p2mp29ymrmccgmsi0m0dzhgn6s"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; There are no automated tests.
|
|
|
|
|
'(#:tests? #f))
|
|
|
|
|
(home-page "https://projects.horms.net/projects/kexec/")
|
|
|
|
|
(synopsis "Tools for booting directly into different kernels")
|
|
|
|
|
(description "This package provides the @code{kexec} program and ancillary
|
|
|
|
|
utilities. Using @code{kexec}, it is possible to boot directly into a new
|
|
|
|
|
kernel from the context of an already-running kernel, bypassing the normal
|
|
|
|
|
system boot process.")
|
|
|
|
|
(license license:gpl2)))
|
2020-05-08 22:26:02 +02:00
|
|
|
|
|
|
|
|
|
(define-public cachefilesd
|
|
|
|
|
(package
|
|
|
|
|
(name "cachefilesd")
|
|
|
|
|
(version "0.10.10")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://git.kernel.org/pub/scm/linux/kernel/git/dhowells"
|
|
|
|
|
"/cachefilesd.git/snapshot/cachefilesd-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0g40ljjnn3wzh9gp6il21c95f977298qrrkrxfnwfl3k3asfmnbi"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((prefix-dir (lambda (var dir)
|
gnu: Use 'cc-for-target' instead of custom implementations.
* gnu/packages/compression.scm (ecm)[arguments]: In #:make-flags, remove
TARGET binding and use CC-FOR-TARGET instead.
* gnu/packages/linux.scm (powerstat, crda, cachefilesd)[arguments]: Likewise.
* gnu/packages/mail.scm (alpine)[arguments]: Likewise.
* gnu/packages/music.scm (lsp-plugins)[arguments]: Likewise.
* gnu/packages/radio.scm (dump1090)[arguments]: Likewise.
* gnu/packages/suckless.scm (blind, dmenu, spoon, slock, st, surf, sent,
wificurse, sbm, prout, noice, human, fortify-headers, colors, libutf,
scron)[arguments]: Likewise.
2020-05-28 18:57:46 +02:00
|
|
|
|
(string-append var "=" %output "/" dir))))
|
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
2020-05-08 22:26:02 +02:00
|
|
|
|
(prefix-dir "SBINDIR" "sbin/")
|
|
|
|
|
(prefix-dir "ETCDIR" "etc/")
|
|
|
|
|
(prefix-dir "MANDIR" "share/man/")))
|
|
|
|
|
#:phases (modify-phases %standard-phases (delete 'configure))))
|
|
|
|
|
(home-page "https://people.redhat.com/~dhowells/cachefs/")
|
|
|
|
|
(synopsis "CacheFiles userspace management daemon")
|
|
|
|
|
(description "@code{cachefilesd} is a userspace daemon that manages the
|
|
|
|
|
cache data store that is used by network file systems such as @code{AFS} and
|
|
|
|
|
@code{NFS} to cache data locally on disk. The content of the cache is
|
|
|
|
|
persistent over reboots.")
|
|
|
|
|
(license license:gpl2+)))
|
2020-06-13 23:53:50 +02:00
|
|
|
|
|
|
|
|
|
(define-public libbpf
|
|
|
|
|
(package
|
|
|
|
|
(name "libbpf")
|
|
|
|
|
(version "0.0.9")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libbpf/libbpf")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"18l0gff7nm841mwhr7bc7x863xcyvwh58zl7mc0amnsjqlbrvqg7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2020-09-19 03:22:20 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; In Requires.private of libbpf.pc.
|
2020-06-13 23:53:50 +02:00
|
|
|
|
`(("libelf" ,libelf)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2020-09-19 03:22:20 +02:00
|
|
|
|
`(#:tests? #f ; no tests
|
2020-06-13 23:53:50 +02:00
|
|
|
|
#:make-flags
|
|
|
|
|
(list
|
2020-10-06 10:28:29 +02:00
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "LIBDIR=$(PREFIX)/lib")
|
2020-06-13 23:53:50 +02:00
|
|
|
|
(string-append
|
|
|
|
|
"CC=" (assoc-ref %build-inputs "gcc") "/bin/gcc"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'pre-build
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "scripts/check-reallocarray.sh"
|
|
|
|
|
(("/bin/rm" rm)
|
|
|
|
|
(string-append (assoc-ref inputs "coreutils") rm)))
|
|
|
|
|
(chdir "src")
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://github.com/libbpf/libbpf")
|
|
|
|
|
(synopsis "BPF CO-RE (Compile Once – Run Everywhere)")
|
|
|
|
|
(description
|
|
|
|
|
"Libbpf supports building BPF CO-RE-enabled applications, which, in
|
|
|
|
|
contrast to BCC, do not require the Clang/LLVM runtime or linux kernel
|
|
|
|
|
headers.")
|
|
|
|
|
(license `(,license:lgpl2.1 ,license:bsd-2))))
|
2020-06-14 08:16:11 +02:00
|
|
|
|
|
|
|
|
|
(define-public bcc
|
|
|
|
|
(package
|
|
|
|
|
(name "bcc")
|
|
|
|
|
(version "0.15.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/iovisor/bcc")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1d5j9zanffa1c7lpi5fcrdlx1n7hy86xl82fam2xqr0s41q4ipxw"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("clang-toolchain" ,clang-toolchain)
|
|
|
|
|
("libbpf" ,(package-source libbpf))
|
|
|
|
|
;; LibElf required but libelf does not contain
|
|
|
|
|
;; archives, only object files.
|
|
|
|
|
;; https://github.com/iovisor/bcc/issues/504
|
|
|
|
|
("elfutils" ,elfutils)
|
|
|
|
|
("linux-libre-headers" ,linux-libre-headers)
|
|
|
|
|
("luajit" ,luajit)
|
|
|
|
|
("python-wrapper" ,python-wrapper)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; Tests all require root permissions and a "standard" file hierarchy.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(let ((revision ,version))
|
|
|
|
|
`(,(string-append "-DREVISION=" revision)))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; FIXME: Use "-DCMAKE_USE_LIBBPF_PACKAGE=ON".
|
|
|
|
|
(add-after 'unpack 'copy-libbpf
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(delete-file-recursively "src/cc/libbpf")
|
|
|
|
|
(copy-recursively
|
|
|
|
|
(assoc-ref inputs "libbpf") "src/cc/libbpf")))
|
|
|
|
|
(add-after 'copy-libbpf 'substitute-libbc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/python/bcc/libbcc.py"
|
|
|
|
|
(("(libbcc\\.so.*)\\b" _ libbcc)
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref outputs "out") "/lib/" libbcc)))))
|
|
|
|
|
(add-after 'install 'wrap-tools
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(use-modules (ice-9 textual-ports))
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(tools (string-append out "/share/bcc/tools"))
|
|
|
|
|
(python-executable?
|
|
|
|
|
(lambda (filename _)
|
|
|
|
|
(call-with-input-file filename
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(string-contains (get-line port)
|
|
|
|
|
"/bin/python"))))))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (python-executable)
|
|
|
|
|
(format #t "Wrapping: ~A.~%" python-executable)
|
|
|
|
|
(wrap-program python-executable
|
|
|
|
|
`("PYTHONPATH" ":" prefix
|
|
|
|
|
(,(string-append lib
|
|
|
|
|
"/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python))
|
|
|
|
|
"/site-packages")))))
|
|
|
|
|
(find-files tools python-executable?))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://github.com/iovisor/bcc")
|
|
|
|
|
(synopsis "Tools for BPF on Linux")
|
|
|
|
|
(description
|
|
|
|
|
"BCC is a toolkit for creating efficient kernel tracing and manipulation
|
|
|
|
|
programs, and includes several useful tools and examples. It makes use of
|
|
|
|
|
extended BPF (Berkeley Packet Filters), formally known as eBPF, a new feature
|
|
|
|
|
that was first added to Linux 3.15. Much of what BCC uses requires Linux 4.1
|
|
|
|
|
and above.")
|
|
|
|
|
(license license:asl2.0)))
|
2020-07-31 12:52:38 +02:00
|
|
|
|
|
|
|
|
|
(define-public bpftrace
|
|
|
|
|
(package
|
|
|
|
|
(name "bpftrace")
|
2020-11-21 17:33:29 +01:00
|
|
|
|
(version "0.11.4")
|
2020-07-31 12:52:38 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/iovisor/bpftrace")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-11-21 17:33:29 +01:00
|
|
|
|
(base32 "0y4qgm2cpccrsm20rnh92hqplddqsc5q5zhw9nqn2igm3h9i0z7h"))
|
2020-07-31 12:52:38 +02:00
|
|
|
|
(patches (search-patches "bpftrace-disable-bfd-disasm.patch"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bcc" ,bcc)
|
|
|
|
|
("clang-toolchain" ,clang-toolchain)
|
|
|
|
|
("elfutils" ,elfutils)
|
|
|
|
|
("libbpf" ,libbpf)
|
|
|
|
|
("linux-libre-headers" ,linux-libre-headers)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;Tests require googletest sources.
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("-DBUILD_TESTING=OFF"
|
|
|
|
|
;; FIXME: libbfd misses some link dependencies, when fixed, remove
|
|
|
|
|
;; the associated patch.
|
|
|
|
|
"-DHAVE_BFD_DISASM=OFF")))
|
|
|
|
|
(home-page "https://github.com/iovisor/bpftrace")
|
|
|
|
|
(synopsis "High-level tracing language for Linux eBPF")
|
|
|
|
|
(description
|
|
|
|
|
"bpftrace is a high-level tracing language for Linux enhanced Berkeley
|
|
|
|
|
Packet Filter (eBPF) available in recent Linux kernels (4.x). bpftrace uses
|
|
|
|
|
LLVM as a backend to compile scripts to BPF-bytecode and makes use of BCC for
|
|
|
|
|
interacting with the Linux BPF system, as well as existing Linux tracing
|
|
|
|
|
capabilities: kernel dynamic tracing (kprobes), user-level dynamic
|
|
|
|
|
tracing (uprobes), and tracepoints. The bpftrace language is inspired by awk
|
|
|
|
|
and C, and predecessor tracers such as DTrace and SystemTap. bpftrace was
|
|
|
|
|
created by Alastair Robertson.")
|
|
|
|
|
(license license:asl2.0)))
|
2020-09-11 00:06:15 +02:00
|
|
|
|
|
|
|
|
|
(define-public ttyebus-linux-module
|
|
|
|
|
(let ((revision "0")
|
|
|
|
|
(commit "fe4332a2281cf79804ef4d8516aa848ca1c58d1f"))
|
|
|
|
|
(package
|
|
|
|
|
(name "ttyebus-linux-module")
|
|
|
|
|
(version (git-version "1.5" revision commit))
|
|
|
|
|
(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 19:18:54 +01:00
|
|
|
|
(url "https://github.com/eBUS/ttyebus")
|
2020-09-11 00:06:15 +02:00
|
|
|
|
(commit "fe4332a2281cf79804ef4d8516aa848ca1c58d1f")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1i66xjs9vln5cca6wx7aiiw7jihrlsk9hjdqyczp36fvm1b1bani"))))
|
|
|
|
|
(supported-systems '("armhf-linux" "aarch64-linux"))
|
|
|
|
|
(build-system linux-module-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/eBUS/ttyebus")
|
|
|
|
|
(synopsis "Low-latency Raspberry Pi UART driver")
|
|
|
|
|
(description "This package provides a Linux kernel module that will
|
|
|
|
|
provide a serial device @code{/dev/ttyebus} with almost no latency upon
|
|
|
|
|
receiving. It is dedicated to the PL011 UART of the Raspberry Pi.")
|
|
|
|
|
(license license:gpl3+))))
|
2020-09-26 22:09:04 +02:00
|
|
|
|
|
|
|
|
|
(define-public ipset
|
|
|
|
|
(package
|
|
|
|
|
(name "ipset")
|
2020-11-23 01:03:40 +01:00
|
|
|
|
(version "7.9")
|
2020-09-26 22:09:04 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-11-23 01:03:11 +01:00
|
|
|
|
(uri (string-append "https://ipset.netfilter.org/ipset-" version ".tar.bz2"))
|
2020-09-26 22:09:04 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-23 01:03:40 +01:00
|
|
|
|
"02mkp7vmsh609dcp02xi290sxmsgq2fsch3875dxkwfxkrl16p5p"))))
|
2020-09-26 22:09:04 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmnl" ,libmnl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--with-kmod=no")))
|
2020-11-23 01:03:11 +01:00
|
|
|
|
(home-page "https://ipset.netfilter.org/")
|
2020-09-26 22:09:04 +02:00
|
|
|
|
(synopsis "Administration tool for IP sets")
|
|
|
|
|
(description "IP sets are a framework inside the Linux 2.4.x and 2.6.x kernel which
|
|
|
|
|
can be administered by the ipset utility. Depending on the type,
|
|
|
|
|
currently an IP set may store IP addresses, (TCP/UDP) port numbers or
|
|
|
|
|
IP addresses with MAC addresses in a way which ensures lightning speed
|
|
|
|
|
when matching an entry against a set.
|
|
|
|
|
|
|
|
|
|
If you want to
|
|
|
|
|
@itemize @bullet
|
|
|
|
|
@item store multiple IP addresses or port numbers and match against the entire
|
|
|
|
|
collection using a single iptables rule.
|
|
|
|
|
@item dynamically update iptables rules against IP addresses or ports without
|
|
|
|
|
performance penalty.
|
|
|
|
|
@item express complex IP address and ports based rulesets with a single
|
|
|
|
|
iptables rule and benefit from the speed of IP sets.
|
|
|
|
|
@end itemize\n
|
|
|
|
|
then IP sets may be the proper tool for you.")
|
|
|
|
|
(license license:gpl2+)))
|
2020-09-30 21:00:53 +02:00
|
|
|
|
|
|
|
|
|
(define-public liburing
|
|
|
|
|
(package
|
|
|
|
|
(name "liburing")
|
|
|
|
|
(version "0.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.kernel.dk/liburing")
|
|
|
|
|
(commit (string-append "liburing-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15z44l7y4c6s6dlf7v8lq4znlsjbja2r4ifbni0l8cdcnq0w3zh3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; Tests are dependent on kernel version and features
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
;; configure fails if it is followed by SHELL, CONFIG_SHELL,
|
|
|
|
|
;; --enable-fast-install, and --build
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(setenv "SHELL" (which "sh"))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "sh"))
|
|
|
|
|
(invoke "./configure" (string-append "--prefix=" out))))))))
|
|
|
|
|
(home-page "https://github.com/axboe/liburing")
|
|
|
|
|
(synopsis "Interface to the Linux kernel @code{io_uring} interface")
|
|
|
|
|
(description "This is the io_uring library, liburing. liburing provides
|
|
|
|
|
helpers to setup and teardown io_uring instances, and also a simplified
|
|
|
|
|
interface for applications that don't need (or want) to deal with the full
|
|
|
|
|
kernel side implementation.")
|
|
|
|
|
(license license:expat)))
|