[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/15: gnu: eudev: Download using git.
From: |
guix-commits |
Subject: |
12/15: gnu: eudev: Download using git. |
Date: |
Tue, 4 Dec 2018 14:06:35 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit ee2d63db617277a9f6e6b8c511886967b6947272
Author: Marius Bakke <address@hidden>
Date: Tue Dec 4 17:26:02 2018 +0100
gnu: eudev: Download using git.
* gnu/packages/linux.scm (eudev)[source]: Change to GIT-FETCH.
[arguments]: Add phase "make-source-writable".
---
gnu/packages/linux.scm | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 9d61734..6e4fac7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2040,18 +2040,24 @@ from the module-init-tools project.")
(name "eudev")
(version "3.2.5")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/gentoo/eudev/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference (url "https://github.com/gentoo/eudev")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0dlkcgy7j4fdcksqrpc373zfybiif1bal3n6lpy1kfc5280j02c7"))
+ "0x23vxybvciskfbdgvp4ygkxdh2pjcglni29i36a09ii23lgs17l"))
(patches (search-patches "eudev-rules-directory.patch"))))
(build-system gnu-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
+ (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))
(add-before 'bootstrap 'patch-file-names
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "man/make.sh"
- 04/15: gnu: gtk+: Update to 3.24.1., (continued)
- 04/15: gnu: gtk+: Update to 3.24.1., guix-commits, 2018/12/04
- 05/15: gnu: json-glib: Update to 1.4.4., guix-commits, 2018/12/04
- 06/15: gnu: imagemagick: Update to 6.9.10-15., guix-commits, 2018/12/04
- 09/15: gnu: OpenBLAS: Update to 0.3.4., guix-commits, 2018/12/04
- 14/15: gnu: mesa: Build against the regular LLVM package., guix-commits, 2018/12/04
- 15/15: gnu: meson: Update to 0.48.2, guix-commits, 2018/12/04
- 03/15: gnu: tzdata: Update to 2018g., guix-commits, 2018/12/04
- 07/15: gnu: lz4: Download sources from git., guix-commits, 2018/12/04
- 08/15: gnu: libsigc++: Update to 2.10.1., guix-commits, 2018/12/04
- 10/15: gnu: libva: Update to 2.3.0., guix-commits, 2018/12/04
- 12/15: gnu: eudev: Download using git.,
guix-commits <=
- 13/15: gnu: eudev: Update to 3.2.7., guix-commits, 2018/12/04
- 11/15: gnu: gstreamer: Update to 1.14.4., guix-commits, 2018/12/04