Store and display the location of packages
Store the location a package can be found at, and display this on the package page. If available, link off to the git repository containing the package.
This commit is contained in:
parent
9aaab6b751
commit
7341d17254
15 changed files with 217 additions and 28 deletions
|
|
@ -9,6 +9,7 @@
|
|||
mock-inferior-package-synopsis
|
||||
mock-inferior-package-description
|
||||
mock-inferior-package-home-page
|
||||
mock-inferior-package-location
|
||||
|
||||
with-mock-inferior-packages))
|
||||
|
||||
|
|
@ -19,7 +20,8 @@
|
|||
(version mock-inferior-package-version)
|
||||
(synopsis mock-inferior-package-synopsis)
|
||||
(description mock-inferior-package-description)
|
||||
(home-page mock-inferior-package-home-page))
|
||||
(home-page mock-inferior-package-home-page)
|
||||
(location mock-inferior-package-location))
|
||||
|
||||
(define (with-mock-inferior-packages f)
|
||||
(mock
|
||||
|
|
@ -42,4 +44,8 @@
|
|||
((guix inferior)
|
||||
inferior-package-home-page
|
||||
mock-inferior-package-home-page)
|
||||
(f)))))))
|
||||
(mock
|
||||
((guix inferior)
|
||||
inferior-package-location
|
||||
mock-inferior-package-location)
|
||||
(f))))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue