gnu: lsyncd: Don't use unstable tarball.

* gnu/packages/sync.scm (lsyncd)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[arguments]: Adjust ‘install’ phase to new source directory.
master
Tobias Geerinckx-Rice 2019-02-17 21:39:14 +01:00
parent 217ea1a1be
commit 836931a5a7
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 10 deletions

View File

@ -162,13 +162,13 @@ their folder.
(version "2.2.2") (version "2.2.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/axkibe/lsyncd/archive/release-" (uri (git-reference
version ".tar.gz")) (url "https://github.com/axkibe/lsyncd.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "release-" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1q2ixp52r96ckghgmxdbms6xrq8dbziimp8gmgzqfq4lk1v1w80y"))))
"02g054qv8rnbxywd4f0gnd13lrlns9175d3ciqnyslhs1zs15nqb"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(;; The "tests" target is broken and assumes that tests are run in the `(;; The "tests" target is broken and assumes that tests are run in the
@ -184,10 +184,7 @@ their folder.
(bin (string-append out "/bin")) (bin (string-append out "/bin"))
(man (string-append out "/share/man/man1"))) (man (string-append out "/share/man/man1")))
(install-file "lsyncd" bin) (install-file "lsyncd" bin)
(install-file (string-append "../lsyncd-release-" (install-file "../source/doc/manpage/lsyncd.1" man)
,version
"/doc/manpage/lsyncd.1")
man)
#t)))))) #t))))))
(native-inputs (native-inputs
`(("lua" ,lua-5.2))) `(("lua" ,lua-5.2)))