mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: opencc: Use 'git-fetch'.
* gnu/packages/textutils.scm (opencc)[source]: Use 'git-fetch'.
This commit is contained in:
parent
23ae876b91
commit
bf5af9342c
1 changed files with 6 additions and 5 deletions
|
@ -758,12 +758,13 @@ (define-public opencc
|
||||||
(version "1.0.5")
|
(version "1.0.5")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/BYVoid/OpenCC"
|
(uri (git-reference
|
||||||
"/archive/ver." version ".tar.gz"))
|
(url "https://github.com/BYVoid/OpenCC")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(commit (string-append "ver." version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "01870gbkf711msirf3206k0ajaabypjhnx3fny5wikw0ladn9q8w"))))
|
(base32 "1pv5md225qwhbn8ql932zdg6gh1qlx3paiajaks8gfsa07yzvhr4"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python" ,python-wrapper)))
|
`(("python" ,python-wrapper)))
|
||||||
|
|
Loading…
Reference in a new issue