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:
Christopher Baines 2019-05-13 21:02:53 +01:00
parent 9aaab6b751
commit 7341d17254
15 changed files with 217 additions and 28 deletions

View file

@ -1,6 +1,7 @@
(define-module (test-model-package-metadata)
#:use-module (ice-9 match)
#:use-module (srfi srfi-64)
#:use-module (guix utils)
#:use-module (tests mock-inferior)
#:use-module (guix-data-service database))
@ -12,7 +13,8 @@
(version "2")
(synopsis "Foo")
(description "Foo description")
(home-page "https://example.com")))
(home-page "https://example.com")
(location (location "file.scm" 5 0))))
(with-mock-inferior-packages
(lambda ()