[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61420] [PATCH 06/31] import: hackage: Add upstream-name property.
From: |
Lars-Dominik Braun |
Subject: |
[bug#61420] [PATCH 06/31] import: hackage: Add upstream-name property. |
Date: |
Sat, 11 Feb 2023 11:08:03 +0100 |
* 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.
---
guix/import/hackage.scm | 1 +
tests/hackage.scm | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm
index e915aac58d..9e305cf080 100644
--- a/guix/import/hackage.scm
+++ b/guix/import/hackage.scm
@@ -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)
diff --git a/tests/hackage.scm b/tests/hackage.scm
index ad2ee4b7f9..8eea818ebd 100644
--- a/tests/hackage.scm
+++ b/tests/hackage.scm
@@ -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?))
--
2.38.2
- [bug#61420] [PATCH 10/31] import: haskell: Add new internal library for GHC 9.2., (continued)
- [bug#61420] [PATCH 10/31] import: haskell: Add new internal library for GHC 9.2., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 15/31] gnu: Remove unused Haskell packages., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 22/31] build: haskell-build-system: Build static executables by default., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 08/31] import: hackage: Use upstream-name property., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 02/31] build: haskell-build-system: Remove trailing #t., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 12/31] build: haskell-build-system: Remove unused linker flags., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 21/31] gnu: ghc-lua: Disable symbol export., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 11/31] build: haskell-build-system: Process all transitive dependencies., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 16/31] gnu: ghc-parsec: Update to 3.1.15.0., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 06/31] import: hackage: Add upstream-name property.,
Lars-Dominik Braun <=
- [bug#61420] [PATCH 20/31] gnu: ghc-9.2: Support static linking with glibc < 2.34., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 18/31] gnu: elm: Support GHC 9.2., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 26/31] gnu: git-annex: Drop Haskell documentation., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 14/31] gnu: ghc-9.2: Increase make verbosity., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 17/31] gnu: idris: Fix overly zealous regular expression., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 30/31] gnu: xmobar: Drop Haskell libraries and documentation., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 23/31] gnu: ngless: Drop Haskell libraries and documentation., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 19/31] build-system: haskell: Drop default "static" output., Lars-Dominik Braun, 2023/02/11