mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: gitless: Re-indent.
* gnu/packages/version-control.scm (gitless): Reindent after let addition. Change-Id: I34e0c1c92b4343f44c1b83070dbf1c25aee77bf4 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
7725ef304c
commit
a138371f32
1 changed files with 54 additions and 54 deletions
|
@ -905,60 +905,60 @@ logs to GNU ChangeLog format.")
|
||||||
(let ((commit "3ac28e39e170acdcd1590e0a25a06790ae0e6922")
|
(let ((commit "3ac28e39e170acdcd1590e0a25a06790ae0e6922")
|
||||||
(revision "0"))
|
(revision "0"))
|
||||||
(package
|
(package
|
||||||
(name "gitless")
|
(name "gitless")
|
||||||
(version (git-version "0.8.8" revision commit))
|
(version (git-version "0.8.8" revision commit))
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/gitless-vcs/gitless")
|
(url "https://github.com/gitless-vcs/gitless")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "116hl4hb42qw7lza0w71m2i7dmfh0vfm5fi3x95nx463sjnk4ahv"))))
|
(base32 "116hl4hb42qw7lza0w71m2i7dmfh0vfm5fi3x95nx463sjnk4ahv"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'build 'loosen-requirements
|
(add-before 'build 'loosen-requirements
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
;; Using Guix's python-pygit2 1.1.0 appears to work fine…
|
;; Using Guix's python-pygit2 1.1.0 appears to work fine…
|
||||||
(("pygit2==") "pygit2>="))))
|
(("pygit2==") "pygit2>="))))
|
||||||
(add-before 'check 'prepare-for-tests
|
(add-before 'check 'prepare-for-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Find the 'gl' command.
|
;; Find the 'gl' command.
|
||||||
(rename-file "gl.py" "gl")
|
(rename-file "gl.py" "gl")
|
||||||
(setenv "PATH" (string-append (getcwd) ":" (getenv "PATH")))
|
(setenv "PATH" (string-append (getcwd) ":" (getenv "PATH")))
|
||||||
|
|
||||||
;; The tests try to run git as if it were already set up.
|
;; The tests try to run git as if it were already set up.
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
(invoke "git" "config" "--global" "user.email" "git@example.com")
|
(invoke "git" "config" "--global" "user.email" "git@example.com")
|
||||||
(invoke "git" "config" "--global" "user.name" "Guix")
|
(invoke "git" "config" "--global" "user.name" "Guix")
|
||||||
(invoke "git" "config" "--global" "color.ui" "true")))
|
(invoke "git" "config" "--global" "color.ui" "true")))
|
||||||
(replace 'wrap
|
(replace 'wrap
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((git (search-input-file inputs "bin/git")))
|
(let ((git (search-input-file inputs "bin/git")))
|
||||||
(wrap-program (string-append #$output "/bin/gl")
|
(wrap-program (string-append #$output "/bin/gl")
|
||||||
`("PATH" ":" prefix (,(dirname git)))
|
`("PATH" ":" prefix (,(dirname git)))
|
||||||
`("GUIX_PYTHONPATH" ":" =
|
`("GUIX_PYTHONPATH" ":" =
|
||||||
(,(string-append (site-packages inputs outputs) ":")
|
(,(string-append (site-packages inputs outputs) ":")
|
||||||
,(getenv "GUIX_PYTHONPATH"))))))))))
|
,(getenv "GUIX_PYTHONPATH"))))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list git-minimal
|
(list git-minimal
|
||||||
python-pytest
|
python-pytest
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python-wheel))
|
python-wheel))
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal
|
(list bash-minimal
|
||||||
git-minimal
|
git-minimal
|
||||||
python-argcomplete
|
python-argcomplete
|
||||||
python-pygit2
|
python-pygit2
|
||||||
python-sh))
|
python-sh))
|
||||||
(home-page "https://gitless.com")
|
(home-page "https://gitless.com")
|
||||||
(synopsis "Simple version control system built on top of Git")
|
(synopsis "Simple version control system built on top of Git")
|
||||||
(description
|
(description
|
||||||
"Gitless is a Git-compatible version control system that aims to be easy to
|
"Gitless is a Git-compatible version control system that aims to be easy to
|
||||||
learn and use. It simplifies the common workflow by committing changes to
|
learn and use. It simplifies the common workflow by committing changes to
|
||||||
tracked files by default and saving any uncommitted changes as part of a branch.
|
tracked files by default and saving any uncommitted changes as part of a branch.
|
||||||
|
|
||||||
|
@ -968,7 +968,7 @@ figure out what to do next.
|
||||||
Gitless is implemented on top of Git and its commits and repositories are
|
Gitless is implemented on top of Git and its commits and repositories are
|
||||||
indistinguishable from Git's. You (or other contributors) can always fall back
|
indistinguishable from Git's. You (or other contributors) can always fall back
|
||||||
on @command{git}, and use any regular Git hosting service.")
|
on @command{git}, and use any regular Git hosting service.")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public git-cal
|
(define-public git-cal
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue