mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
import: hackage: Add upstream-name property.
* guix/import/hackage.scm (hackage-module->sexp): Add property upstream-name to imported package. * tests/hackage.scm (match-ghc-foo): Add upstream-name property. (match-ghc-foo-6): Ditto. (match-ghc-elif): Ditto. (match-ghc-foo-revision): Ditto. (match-ghc-foo-import): Ditto.
This commit is contained in:
parent
eb42d18180
commit
84549dcf38
2 changed files with 6 additions and 0 deletions
|
@ -314,6 +314,7 @@ (define (maybe-arguments)
|
|||
(bytevector->nix-base32-string (file-sha256 tarball))
|
||||
"failed to download tar archive")))))
|
||||
(build-system haskell-build-system)
|
||||
(properties '((upstream-name . ,name)))
|
||||
,@(maybe-inputs 'inputs dependencies)
|
||||
,@(maybe-inputs 'native-inputs native-dependencies)
|
||||
,@(maybe-arguments)
|
||||
|
|
|
@ -201,6 +201,7 @@ (define-package-matcher match-ghc-foo
|
|||
('base32
|
||||
(? string? hash)))))
|
||||
('build-system 'haskell-build-system)
|
||||
('properties '(quote ((upstream-name . "foo"))))
|
||||
('inputs ('list 'ghc-http))
|
||||
('home-page "http://test.org")
|
||||
('synopsis (? string?))
|
||||
|
@ -241,6 +242,7 @@ (define-package-matcher match-ghc-foo-6
|
|||
('base32
|
||||
(? string? hash)))))
|
||||
('build-system 'haskell-build-system)
|
||||
('properties '(quote ((upstream-name . "foo"))))
|
||||
('inputs ('list 'ghc-b 'ghc-http))
|
||||
('native-inputs ('list 'ghc-haskell-gi))
|
||||
('home-page "http://test.org")
|
||||
|
@ -471,6 +473,7 @@ (define-package-matcher match-ghc-elif
|
|||
('base32
|
||||
(? string? hash)))))
|
||||
('build-system 'haskell-build-system)
|
||||
('properties '(quote ((upstream-name . "foo"))))
|
||||
('inputs ('list 'ghc-c))
|
||||
('home-page "http://test.org")
|
||||
('synopsis (? string?))
|
||||
|
@ -520,6 +523,7 @@ (define-package-matcher match-ghc-foo-revision
|
|||
('base32
|
||||
(? string? hash)))))
|
||||
('build-system 'haskell-build-system)
|
||||
('properties '(quote ((upstream-name . "foo"))))
|
||||
('inputs ('list 'ghc-http))
|
||||
('arguments
|
||||
('quasiquote
|
||||
|
@ -610,6 +614,7 @@ (define-package-matcher match-ghc-foo-import
|
|||
('base32
|
||||
(? string? hash)))))
|
||||
('build-system 'haskell-build-system)
|
||||
('properties '(quote ((upstream-name . "foo"))))
|
||||
('inputs ('list 'ghc-http))
|
||||
('home-page "http://test.org")
|
||||
('synopsis (? string?))
|
||||
|
|
Loading…
Reference in a new issue