detox: Update to 1.3.0.
* gnu/packages/admin.scm (detox): Update to 1.3.0 [source]: Move to new upstream fork. [inputs]: Remove libpopt. Move flex to... [native-inputs]: ...here, new field. Add autoconf and automake. [arguments]: Remove #:configure-flags. Add 'delete-configure' phase. [home-page]: Adjust for new upstream.
This commit is contained in:
parent
95c1504758
commit
c2d512d3d2
|
@ -1340,25 +1340,30 @@ system is under heavy load.")
|
||||||
(define-public detox
|
(define-public detox
|
||||||
(package
|
(package
|
||||||
(name "detox")
|
(name "detox")
|
||||||
(version "1.2.0")
|
(version "1.3.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/detox/detox/" version
|
(uri (git-reference
|
||||||
"/detox-" version ".tar.bz2"))
|
(url "https://github.com/dharple/detox.git")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1y6vvjqsg54kl49cry73jbfhr04s7wjs779vrr9zrq6kww7dkymb"))))
|
"1dd608c7g65s5lj02cddvani3q9kzirddgkjqa22ap9d4f8b9xgr"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
;; Both flex and popt are used in this case for their runtime libraries
|
(native-inputs
|
||||||
;; (libfl and libpopt).
|
`(("autoconf" ,autoconf)
|
||||||
(inputs
|
("automake" ,automake)
|
||||||
`(("flex" ,flex)
|
("flex" ,flex)))
|
||||||
("popt" ,popt)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags `(,(string-append "--with-popt="
|
`(#:tests? #f ;no 'check' target
|
||||||
(assoc-ref %build-inputs "popt")))
|
#:phases (modify-phases %standard-phases
|
||||||
#:tests? #f)) ;no 'check' target
|
(add-after 'unpack 'delete-configure
|
||||||
(home-page "http://detox.sourceforge.net")
|
;; The "configure" script is present, but otherwise the
|
||||||
|
;; project is not bootstrapped: missing install-sh and
|
||||||
|
;; Makefile.in, so delete it so the bootstrap phase will
|
||||||
|
;; take over.
|
||||||
|
(lambda _ (delete-file "configure") #t)))))
|
||||||
|
(home-page "https://github.com/dharple/detox")
|
||||||
(synopsis "Clean up file names")
|
(synopsis "Clean up file names")
|
||||||
(description
|
(description
|
||||||
"Detox is a program that renames files to make them easier to work with
|
"Detox is a program that renames files to make them easier to work with
|
||||||
|
|
Loading…
Reference in New Issue