gnu: eudev: Download using git.
* gnu/packages/linux.scm (eudev)[source]: Change to GIT-FETCH. [arguments]: Add phase "make-source-writable".
This commit is contained in:
parent
bc148ba47d
commit
ee2d63db61
|
@ -2040,18 +2040,24 @@ from the module-init-tools project.")
|
||||||
(name "eudev")
|
(name "eudev")
|
||||||
(version "3.2.5")
|
(version "3.2.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/gentoo/eudev/archive/v"
|
(uri (git-reference (url "https://github.com/gentoo/eudev")
|
||||||
version ".tar.gz"))
|
(commit (string-append "v" version))))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0dlkcgy7j4fdcksqrpc373zfybiif1bal3n6lpy1kfc5280j02c7"))
|
"0x23vxybvciskfbdgvp4ygkxdh2pjcglni29i36a09ii23lgs17l"))
|
||||||
(patches (search-patches "eudev-rules-directory.patch"))))
|
(patches (search-patches "eudev-rules-directory.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-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
|
(add-before 'bootstrap 'patch-file-names
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "man/make.sh"
|
(substitute* "man/make.sh"
|
||||||
|
|
Loading…
Reference in New Issue