Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] new package: ghcup-0.1.17.4
@ 2022-02-15  6:23 kwshi
  2022-02-15  6:48 ` [PR PATCH] [Updated] " kwshi
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: kwshi @ 2022-02-15  6:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1699 bytes --]

There is a new pull request by kwshi against master on the void-packages repository

https://github.com/kwshi/void-packages ghcup-0.1.17.4
https://github.com/void-linux/void-packages/pull/35624

new package: ghcup-0.1.17.4
<!-- Uncomment relevant sections and delete options which are not applicable -->


#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package

- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements):

  **YES**:

  1. System-wide: `ghcup` is meant to be installed system-wide, even though it
     manages per-user installations of the Haskell toolchain (essentially
     analogous to `rustup` for Rust or `opam` for OCaml)

  2. Compiled: Yep

  3. Required (by other packages): no, but it's a very useful tool for Haskell
     developers, in the same way that rustup is useful for Rust devs,
     npm/pnpm/yarn is for JS devs, etc.

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

`[ci skip]` (on local machine, the build takes about 2-3 hours)
 
#### Local build testing
- I built this PR locally for my native architecture, (`x86_64-glibc`)
- I couldn't test build this PR locally for other architectures because,
  apparently, we can't cross-compile with Haskell yet.


A patch file from https://github.com/void-linux/void-packages/pull/35624.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ghcup-0.1.17.4-35624.patch --]
[-- Type: text/x-diff, Size: 1336 bytes --]

From 07323e72741bb74371c9470cca08ef88f582dab4 Mon Sep 17 00:00:00 2001
From: Kye Shi <shi.kye@gmail.com>
Date: Mon, 14 Feb 2022 21:33:12 -0800
Subject: [PATCH] new package: ghcup-0.1.17.4

---
 srcpkgs/ghcup/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/ghcup/template

diff --git a/srcpkgs/ghcup/template b/srcpkgs/ghcup/template
new file mode 100644
index 000000000000..952d7fc6a858
--- /dev/null
+++ b/srcpkgs/ghcup/template
@@ -0,0 +1,23 @@
+# Template file for 'ghcup'
+pkgname=ghcup
+version=0.1.17.4
+revision=1
+wrksrc="ghcup-hs-v$version"
+build_style='haskell-stack'
+make_build_args='--flag ghcup:tui --flag ghcup:internal-downloader'
+hostmakedepends='tar'
+makedepends='zlib-devel ncurses-libtinfo-devel openssl-devel'
+depends='zlib ncurses-libtinfo-libs openssl'
+short_desc='Installer for the general purpose language Haskell'
+maintainer='Kye Shi <shi.kye@gmail.com>'
+license='LGPL-3.0-only'
+homepage='https://www.haskell.org/ghcup/'
+distfiles="https://gitlab.haskell.org/haskell/ghcup-hs/-/archive/v$version/ghcup-hs-v$version.tar.gz"
+checksum='9bd500baceb90d082bcb33173f3b6356aa91549b4a37fad181eeb21e06b93e64'
+nopie_files='/usr/bin/ghcup'
+
+post_install() {
+	for sh in 'bash' 'fish' 'zsh'; do
+		vcompletion "scripts/shell-completions/$sh" "$sh"
+	done
+}

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2022-12-24  1:52 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15  6:23 [PR PATCH] new package: ghcup-0.1.17.4 kwshi
2022-02-15  6:48 ` [PR PATCH] [Updated] " kwshi
2022-03-13 15:02 ` prez
2022-06-04 17:55 ` kwshi
2022-06-04 19:47 ` [PR REVIEW] " hasufell
2022-06-04 19:48 ` hasufell
2022-06-04 20:19 ` hasufell
2022-06-04 21:16 ` [PR REVIEW] " hasufell
2022-06-04 21:17 ` hasufell
2022-06-05  2:02 ` [PR PATCH] [Updated] " kwshi
2022-06-05  2:10 ` kwshi
2022-06-05  2:12 ` kwshi
2022-06-05  2:12 ` kwshi
2022-06-05  2:13 ` [PR REVIEW] " kwshi
2022-06-05  2:15 ` kwshi
2022-06-05  2:15 ` kwshi
2022-06-05 17:53 ` [PR PATCH] [Updated] new package: ghcup-0.1.17.8 kwshi
2022-06-05 18:16 ` kwshi
2022-06-05 18:35 ` kwshi
2022-06-10 13:37 ` kwshi
2022-06-10 14:18 ` hasufell
2022-06-10 14:45 ` kwshi
2022-06-10 14:52 ` [PR PATCH] [Updated] " kwshi
2022-06-10 15:08 ` kwshi
2022-09-09  2:15 ` github-actions
2022-09-09 22:10 ` kwshi
2022-12-09  2:32 ` github-actions
2022-12-24  1:52 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).