pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang lang/gleam: import package.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4522ee5ad6ff
branches:  trunk
changeset: 378401:4522ee5ad6ff
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Tue May 03 08:57:33 2022 +0000

description:
lang/gleam: import package.

Gleam is a functional language for building type-safe, scalable
systems.

The Gleam compiler itself is written in rust.

Gleam uses the BEAM runtime, and using the same actor-based multi-core
concurrency, with zero runtime overhead and full inter-operability
with Erlang, Elixir, and LFE.

It has all the features you'd expect from an ML derived language,
including algebraic data-types, immutable data structures, full type
inference, fast compilation, generics, no nulls nor exceptions, and a
few bonus features such as helpful error messages.

diffstat:

 lang/Makefile               |    3 +-
 lang/gleam/DESCR            |   13 +
 lang/gleam/MESSAGE          |    5 +
 lang/gleam/Makefile         |   45 ++
 lang/gleam/PLIST            |    2 +
 lang/gleam/cargo-depends.mk |  251 ++++++++++++++
 lang/gleam/distinfo         |  752 ++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 1070 insertions(+), 1 deletions(-)

diffs (truncated from 1109 to 300 lines):

diff -r 12e65a7a05b0 -r 4522ee5ad6ff lang/Makefile
--- a/lang/Makefile     Tue May 03 08:27:20 2022 +0000
+++ b/lang/Makefile     Tue May 03 08:57:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.646 2022/04/14 17:36:20 nikita Exp $
+# $NetBSD: Makefile,v 1.647 2022/05/03 08:57:33 nikita Exp $
 #
 
 COMMENT=       Programming languages
@@ -91,6 +91,7 @@
 SUBDIR+=       ghc90
 SUBDIR+=       ghc92
 SUBDIR+=       gjs
+SUBDIR+=       gleam
 SUBDIR+=       gnat_util
 SUBDIR+=       gnucobol
 SUBDIR+=       go
diff -r 12e65a7a05b0 -r 4522ee5ad6ff lang/gleam/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gleam/DESCR  Tue May 03 08:57:33 2022 +0000
@@ -0,0 +1,13 @@
+Gleam is a functional language for building type-safe, scalable
+systems.
+
+The Gleam compiler itself is written in rust.
+
+Gleam uses the BEAM runtime, and using the same actor-based multi-core
+concurrency, with zero runtime overhead and full inter-operability
+with Erlang, Elixir, and LFE.
+
+It has all the features you'd expect from an ML derived language,
+including algebraic data-types, immutable data structures, full type
+inference, fast compilation, generics, no nulls nor exceptions, and a
+few bonus features such as helpful error messages.
diff -r 12e65a7a05b0 -r 4522ee5ad6ff lang/gleam/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gleam/MESSAGE        Tue May 03 08:57:33 2022 +0000
@@ -0,0 +1,5 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2022/05/03 08:57:33 nikita Exp $
+
+You may want to install lang/erlang as a runtime dependency.
+===========================================================================
diff -r 12e65a7a05b0 -r 4522ee5ad6ff lang/gleam/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gleam/Makefile       Tue May 03 08:57:33 2022 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2022/05/03 08:57:33 nikita Exp $
+
+GITHUB_PROJECT=        gleam
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      gleam-0.21.0
+CATEGORIES=    lang
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=gleam-lang/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/gleam-lang/gleam/
+COMMENT=       ML-flavoured type-safe language using the BEAM runtime
+LICENSE=       apache-2.0
+
+WRKSRC=                ${WRKDIR}/gleam-${PKGVERSION_NOREV}
+
+.include "cargo-depends.mk"
+
+USE_LANGUAGES= c c++
+
+MAKE_ENV+=     OPENSSL_DIR=${BUILDLINK_PREFIX.openssl}
+
+INSTALLATION_DIRS=     bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/gleam ${DESTDIR}${PREFIX}/bin
+
+do-test:
+       if ${TEST} -x "${DESTDIR}${PREFIX}/bin/gleam"; then \
+               if ${TEST} -d "${WRKSRC}/hello"; then \
+                       cd ${WRKSRC}/hello && ${DESTDIR}${PREFIX}/bin/gleam test; \
+               else \
+                       cd ${WRKSRC} && ${DESTDIR}${PREFIX}/bin/gleam new hello && cd hello && ${DESTDIR}${PREFIX}/bin/gleam test; \
+               fi; \
+       else \
+               if ${TEST} -d "${WRKSRC}/hello"; then \
+                       cd ${WRKSRC}/hello && ${WRKSRC}/target/release/gleam test; \
+               else \
+                       cd ${WRKSRC} && ${WRKSRC}/target/release/gleam new hello && cd hello && ${WRKSRC}/target/release/gleam test; \
+               fi; \
+       fi
+
+.include "../../lang/rust/cargo.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 12e65a7a05b0 -r 4522ee5ad6ff lang/gleam/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gleam/PLIST  Tue May 03 08:57:33 2022 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/03 08:57:33 nikita Exp $
+bin/gleam
diff -r 12e65a7a05b0 -r 4522ee5ad6ff lang/gleam/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gleam/cargo-depends.mk       Tue May 03 08:57:33 2022 +0000
@@ -0,0 +1,251 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/05/03 08:57:33 nikita Exp $
+
+CARGO_CRATE_DEPENDS+=  adler-1.0.2
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
+CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+=  arrayvec-0.5.2
+CARGO_CRATE_DEPENDS+=  askama-0.10.5
+CARGO_CRATE_DEPENDS+=  askama_derive-0.10.5
+CARGO_CRATE_DEPENDS+=  askama_escape-0.10.3
+CARGO_CRATE_DEPENDS+=  askama_shared-0.11.2
+CARGO_CRATE_DEPENDS+=  async-trait-0.1.53
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  autocfg-1.1.0
+CARGO_CRATE_DEPENDS+=  base16-0.2.1
+CARGO_CRATE_DEPENDS+=  base64-0.13.0
+CARGO_CRATE_DEPENDS+=  bitflags-1.3.2
+CARGO_CRATE_DEPENDS+=  bitmaps-2.1.0
+CARGO_CRATE_DEPENDS+=  bitvec-0.19.6
+CARGO_CRATE_DEPENDS+=  block-buffer-0.9.0
+CARGO_CRATE_DEPENDS+=  bstr-0.2.17
+CARGO_CRATE_DEPENDS+=  bumpalo-3.9.1
+CARGO_CRATE_DEPENDS+=  bytes-1.1.0
+CARGO_CRATE_DEPENDS+=  capnp-0.14.6
+CARGO_CRATE_DEPENDS+=  capnpc-0.14.7
+CARGO_CRATE_DEPENDS+=  cc-1.0.72
+CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+=  chrono-0.4.19
+CARGO_CRATE_DEPENDS+=  clap-3.1.9
+CARGO_CRATE_DEPENDS+=  clap_derive-3.1.7
+CARGO_CRATE_DEPENDS+=  clap_lex-0.1.1
+CARGO_CRATE_DEPENDS+=  codespan-reporting-0.11.1
+CARGO_CRATE_DEPENDS+=  combine-4.6.3
+CARGO_CRATE_DEPENDS+=  console-0.15.0
+CARGO_CRATE_DEPENDS+=  console_error_panic_hook-0.1.7
+CARGO_CRATE_DEPENDS+=  core-foundation-0.9.3
+CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.8.3
+CARGO_CRATE_DEPENDS+=  cpufeatures-0.2.2
+CARGO_CRATE_DEPENDS+=  crc32fast-1.3.2
+CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.5.4
+CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.8.8
+CARGO_CRATE_DEPENDS+=  ctor-0.1.22
+CARGO_CRATE_DEPENDS+=  ctrlc-3.2.1
+CARGO_CRATE_DEPENDS+=  data-encoding-2.3.2
+CARGO_CRATE_DEPENDS+=  debug-ignore-1.0.2
+CARGO_CRATE_DEPENDS+=  der-oid-macro-0.4.0
+CARGO_CRATE_DEPENDS+=  der-parser-5.1.2
+CARGO_CRATE_DEPENDS+=  diff-0.1.12
+CARGO_CRATE_DEPENDS+=  digest-0.9.0
+CARGO_CRATE_DEPENDS+=  dirs-4.0.0
+CARGO_CRATE_DEPENDS+=  dirs-sys-0.3.7
+CARGO_CRATE_DEPENDS+=  either-1.6.1
+CARGO_CRATE_DEPENDS+=  encode_unicode-0.3.6
+CARGO_CRATE_DEPENDS+=  encoding_rs-0.8.31
+CARGO_CRATE_DEPENDS+=  fastrand-1.7.0
+CARGO_CRATE_DEPENDS+=  filetime-0.2.16
+CARGO_CRATE_DEPENDS+=  fixedbitset-0.4.1
+CARGO_CRATE_DEPENDS+=  flate2-1.0.23
+CARGO_CRATE_DEPENDS+=  fnv-1.0.7
+CARGO_CRATE_DEPENDS+=  foreign-types-0.3.2
+CARGO_CRATE_DEPENDS+=  foreign-types-shared-0.1.1
+CARGO_CRATE_DEPENDS+=  form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+=  fs_extra-1.2.0
+CARGO_CRATE_DEPENDS+=  fslock-0.2.1
+CARGO_CRATE_DEPENDS+=  funty-1.1.0
+CARGO_CRATE_DEPENDS+=  futures-0.3.21
+CARGO_CRATE_DEPENDS+=  futures-channel-0.3.21
+CARGO_CRATE_DEPENDS+=  futures-core-0.3.21
+CARGO_CRATE_DEPENDS+=  futures-executor-0.3.21
+CARGO_CRATE_DEPENDS+=  futures-io-0.3.21
+CARGO_CRATE_DEPENDS+=  futures-macro-0.3.21
+CARGO_CRATE_DEPENDS+=  futures-sink-0.3.21
+CARGO_CRATE_DEPENDS+=  futures-task-0.3.21
+CARGO_CRATE_DEPENDS+=  futures-util-0.3.21
+CARGO_CRATE_DEPENDS+=  generic-array-0.14.5
+CARGO_CRATE_DEPENDS+=  getopts-0.2.21
+CARGO_CRATE_DEPENDS+=  getrandom-0.2.6
+CARGO_CRATE_DEPENDS+=  globset-0.4.8
+CARGO_CRATE_DEPENDS+=  h2-0.3.13
+CARGO_CRATE_DEPENDS+=  hashbrown-0.11.2
+CARGO_CRATE_DEPENDS+=  heck-0.4.0
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.19
+CARGO_CRATE_DEPENDS+=  hexpm-2.0.0
+CARGO_CRATE_DEPENDS+=  hostname-0.3.1
+CARGO_CRATE_DEPENDS+=  http-0.2.6
+CARGO_CRATE_DEPENDS+=  http-auth-basic-0.3.3
+CARGO_CRATE_DEPENDS+=  http-body-0.4.4
+CARGO_CRATE_DEPENDS+=  httparse-1.7.0
+CARGO_CRATE_DEPENDS+=  httpdate-1.0.2
+CARGO_CRATE_DEPENDS+=  humansize-1.1.1
+CARGO_CRATE_DEPENDS+=  hyper-0.14.18
+CARGO_CRATE_DEPENDS+=  hyper-tls-0.5.0
+CARGO_CRATE_DEPENDS+=  idna-0.2.3
+CARGO_CRATE_DEPENDS+=  ignore-0.4.18
+CARGO_CRATE_DEPENDS+=  im-15.0.0
+CARGO_CRATE_DEPENDS+=  indexmap-1.8.1
+CARGO_CRATE_DEPENDS+=  insta-1.14.0
+CARGO_CRATE_DEPENDS+=  instant-0.1.12
+CARGO_CRATE_DEPENDS+=  ipnet-2.5.0
+CARGO_CRATE_DEPENDS+=  itertools-0.10.3
+CARGO_CRATE_DEPENDS+=  itoa-1.0.1
+CARGO_CRATE_DEPENDS+=  js-sys-0.3.57
+CARGO_CRATE_DEPENDS+=  kstring-1.0.6
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  lexical-core-0.7.6
+CARGO_CRATE_DEPENDS+=  libc-0.2.123
+CARGO_CRATE_DEPENDS+=  linked-hash-map-0.5.4
+CARGO_CRATE_DEPENDS+=  log-0.4.16
+CARGO_CRATE_DEPENDS+=  lsp-server-0.5.2
+CARGO_CRATE_DEPENDS+=  lsp-types-0.92.1
+CARGO_CRATE_DEPENDS+=  match_cfg-0.1.0
+CARGO_CRATE_DEPENDS+=  matchers-0.1.0
+CARGO_CRATE_DEPENDS+=  matches-0.1.9
+CARGO_CRATE_DEPENDS+=  memchr-2.4.1
+CARGO_CRATE_DEPENDS+=  memoffset-0.6.5
+CARGO_CRATE_DEPENDS+=  mime-0.3.16
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.5.1
+CARGO_CRATE_DEPENDS+=  mio-0.7.14
+CARGO_CRATE_DEPENDS+=  miow-0.3.7
+CARGO_CRATE_DEPENDS+=  native-tls-0.2.10
+CARGO_CRATE_DEPENDS+=  nix-0.23.1
+CARGO_CRATE_DEPENDS+=  nom-6.1.2
+CARGO_CRATE_DEPENDS+=  ntapi-0.3.7
+CARGO_CRATE_DEPENDS+=  num-bigint-0.4.3
+CARGO_CRATE_DEPENDS+=  num-integer-0.1.44
+CARGO_CRATE_DEPENDS+=  num-traits-0.2.14
+CARGO_CRATE_DEPENDS+=  num_cpus-1.13.1
+CARGO_CRATE_DEPENDS+=  oid-registry-0.1.5
+CARGO_CRATE_DEPENDS+=  once_cell-1.10.0
+CARGO_CRATE_DEPENDS+=  opaque-debug-0.3.0
+CARGO_CRATE_DEPENDS+=  openssl-0.10.38
+CARGO_CRATE_DEPENDS+=  openssl-probe-0.1.5
+CARGO_CRATE_DEPENDS+=  openssl-sys-0.9.72
+CARGO_CRATE_DEPENDS+=  os_str_bytes-6.0.0
+CARGO_CRATE_DEPENDS+=  output_vt100-0.1.3
+CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
+CARGO_CRATE_DEPENDS+=  petgraph-0.6.0
+CARGO_CRATE_DEPENDS+=  pin-project-lite-0.2.8
+CARGO_CRATE_DEPENDS+=  pin-utils-0.1.0
+CARGO_CRATE_DEPENDS+=  pkg-config-0.3.25
+CARGO_CRATE_DEPENDS+=  pretty_assertions-1.2.1
+CARGO_CRATE_DEPENDS+=  proc-macro-error-1.0.4
+CARGO_CRATE_DEPENDS+=  proc-macro-error-attr-1.0.4
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.37
+CARGO_CRATE_DEPENDS+=  protobuf-2.27.1
+CARGO_CRATE_DEPENDS+=  protobuf-codegen-2.27.1
+CARGO_CRATE_DEPENDS+=  protobuf-codegen-pure-2.27.1
+CARGO_CRATE_DEPENDS+=  pubgrub-0.2.1
+CARGO_CRATE_DEPENDS+=  pulldown-cmark-0.8.0
+CARGO_CRATE_DEPENDS+=  quote-1.0.18
+CARGO_CRATE_DEPENDS+=  radium-0.5.3
+CARGO_CRATE_DEPENDS+=  rand_core-0.5.1
+CARGO_CRATE_DEPENDS+=  rand_xoshiro-0.4.0
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.13
+CARGO_CRATE_DEPENDS+=  redox_users-0.4.3
+CARGO_CRATE_DEPENDS+=  regex-1.5.5
+CARGO_CRATE_DEPENDS+=  regex-automata-0.1.10
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.25
+CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.3
+CARGO_CRATE_DEPENDS+=  reqwest-0.11.10
+CARGO_CRATE_DEPENDS+=  ring-0.16.20
+CARGO_CRATE_DEPENDS+=  rpassword-5.0.1
+CARGO_CRATE_DEPENDS+=  rustc-hash-1.1.0
+CARGO_CRATE_DEPENDS+=  rusticata-macros-3.2.0
+CARGO_CRATE_DEPENDS+=  rustversion-1.0.6
+CARGO_CRATE_DEPENDS+=  ryu-1.0.9
+CARGO_CRATE_DEPENDS+=  same-file-1.0.6
+CARGO_CRATE_DEPENDS+=  schannel-0.1.19
+CARGO_CRATE_DEPENDS+=  scoped-tls-1.0.0
+CARGO_CRATE_DEPENDS+=  security-framework-2.6.1
+CARGO_CRATE_DEPENDS+=  security-framework-sys-2.6.1
+CARGO_CRATE_DEPENDS+=  serde-1.0.136
+CARGO_CRATE_DEPENDS+=  serde_derive-1.0.136
+CARGO_CRATE_DEPENDS+=  serde_json-1.0.79
+CARGO_CRATE_DEPENDS+=  serde_repr-0.1.7
+CARGO_CRATE_DEPENDS+=  serde_urlencoded-0.7.1
+CARGO_CRATE_DEPENDS+=  serde_yaml-0.8.23
+CARGO_CRATE_DEPENDS+=  sha2-0.9.9
+CARGO_CRATE_DEPENDS+=  sharded-slab-0.1.4
+CARGO_CRATE_DEPENDS+=  similar-2.1.0
+CARGO_CRATE_DEPENDS+=  sized-chunks-0.6.5
+CARGO_CRATE_DEPENDS+=  slab-0.4.6
+CARGO_CRATE_DEPENDS+=  smallvec-1.8.0
+CARGO_CRATE_DEPENDS+=  smawk-0.3.1
+CARGO_CRATE_DEPENDS+=  socket2-0.4.2
+CARGO_CRATE_DEPENDS+=  spdx-0.8.1
+CARGO_CRATE_DEPENDS+=  spin-0.5.2
+CARGO_CRATE_DEPENDS+=  static_assertions-1.1.0
+CARGO_CRATE_DEPENDS+=  strsim-0.10.0
+CARGO_CRATE_DEPENDS+=  strum-0.24.0
+CARGO_CRATE_DEPENDS+=  strum_macros-0.24.0
+CARGO_CRATE_DEPENDS+=  symlink-0.1.0
+CARGO_CRATE_DEPENDS+=  syn-1.0.91
+CARGO_CRATE_DEPENDS+=  tap-1.0.1
+CARGO_CRATE_DEPENDS+=  tar-0.4.38
+CARGO_CRATE_DEPENDS+=  tempfile-3.3.0
+CARGO_CRATE_DEPENDS+=  termcolor-1.1.3
+CARGO_CRATE_DEPENDS+=  terminal_size-0.1.17
+CARGO_CRATE_DEPENDS+=  textwrap-0.15.0



Home | Main Index | Thread Index | Old Index