[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49169] [PATCH 00/11] Removing input labels from package definitions
From: |
Ludovic Courtès |
Subject: |
[bug#49169] [PATCH 00/11] Removing input labels from package definitions |
Date: |
Tue, 22 Jun 2021 11:09:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Ludovic Courtès <ludo@gnu.org> skribis:
> The main change is the addition of ‘guix style’, based on the script
> I posted earlier. ‘guix style’ is able to systematically preserve
> comments (margin comments and line comments). It recognizes and
> “translates” several common idioms.
Here’s a couple of diffs generated by ‘guix style’:
@@ -171,9 +170,9 @@ engine programmable using Lua.")
(inherit arcan)
(name "arcan-sdl")
(inputs
- `(("sdl" ,sdl)
- ,@(fold alist-delete (package-inputs arcan)
- '("libdrm"))))
+ (modify-inputs (package-inputs arcan)
+ (delete "libdrm")
+ (prepend sdl)))
(arguments
`(,@(ensure-keyword-arguments
(package-arguments arcan)
@@ -218,11 +217,7 @@ engine programmable using Lua.")
,(string-append "--with-xkb-output="
"/tmp")))) ; FIXME: Copied from xorg
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)
- ("util-macros" ,util-macros)))
+ (list pkg-config autoconf automake libtool util-macros))
(inputs
`(("arcan" ,arcan)
("font-util" ,font-util)
Comments:
@@ -3797,11 +3713,11 @@ important tasks for becoming a daemon process:
"1aycpc387wqz7h9w2p53qxn43qsh3m6by6ak4kkc66x9aprr63rz"))))
(build-system python-build-system)
(propagated-inputs
- `(("python-six" ,python-six)))
+ (list python-six))
(native-inputs
- `(;; For tests.
- ("graphviz" ,graphviz) ;for 'dot'
- ("python-nose" ,python-nose)))
+ (list ;; For tests.
+ graphviz ;for 'dot'
+ python-nose))
(home-page "https://github.com/c0fec0de/anytree")
(synopsis "Lightweight tree data library")
Pretty cool, no? :-)
Ludo’.
- [bug#49169] [PATCH 02/11] packages: Allow inputs to be plain package lists., (continued)
- [bug#49169] [PATCH 02/11] packages: Allow inputs to be plain package lists., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 04/11] packages: Add 'lookup-package-input' & co., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 07/11] utils: 'edit-expression' no longer leaks file ports., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 03/11] lint: Add 'input-labels' checker., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 05/11] packages: Add 'modify-inputs'., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 09/11] utils: 'edit-expression' modifies the file only if necessary., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 06/11] gnu: Change inputs of core packages to plain lists., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 08/11] utils: Add 'go-to-location' with source location caching., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 10/11] utils: 'edit-expression' copies part of the original source map., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 11/11] Add 'guix style'., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 00/11] Removing input labels from package definitions,
Ludovic Courtès <=
- [bug#49169] [PATCH 00/11] Removing input labels from package definitions, Ludovic Courtès, 2021/06/27
- [bug#49169] [PATCH v2 00/16] Removing input labels from package definitions, Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 01/16] records: Support field sanitizers., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 03/16] lint: Add 'input-labels' checker., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 02/16] packages: Allow inputs to be plain package lists., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 04/16] packages: Add 'lookup-package-input' & co., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 05/16] packages: Add 'modify-inputs'., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 07/16] utils: 'edit-expression' no longer leaks file ports., Ludovic Courtès, 2021/06/30