Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Diskuv.OCaml.1.0.0.0 #69112

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Created using wingetcreate 1.1.2.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.2.0.schema.json
# Follow:
# https://docs.microsoft.com/en-us/windows/package-manager/package/manifest?tabs=minschema%2Cversion-example#tips-and-best-practices
# https://github.com/microsoft/winget-pkgs/tree/master/doc/manifest/schema/1.2.0#best-practices
# Reference: https://github.com/microsoft/winget-pkgs/blob/master/doc/manifest/schema/1.2.0/installer.md
PackageIdentifier: Diskuv.OCaml
PackageVersion: 1.0.0.0
UpgradeBehavior: install
Commands:
# PATH entry: <DiskuvOCamlHome>/bin
# BUT ... Opam will be releasing an MSI soon so _do not conflict_
# - opam
# - opam-installer
# - opam-putenv

# PATH entry: <DiskuvOCamlHome>/usr/bin
# BUT ... max 16 entries in Commands:[] so took only the most commonly used
- dune
- ocaml
- ocamlc
- ocamldebug
- ocamldoc
- ocamlfind
- ocamlformat
- ocamllsp
- ocamlopt
- ocamlrun
- ocp-indent
- utop
- with-dkml
Platform:
- "Windows.Desktop"
# Minimum OS comes from https://github.com/diskuv/dkml-runtime-distribution/blob/ff7e6bcbf3dbdb37e64b20a57e2dea0fa9d27ed5/src/windows/Machine/Machine.psm1#L14:
# > $Windows10SdkVer = "18362"
MinimumOSVersion: 10.0.18362.0
InstallerType: exe
InstallModes:
- silent
- interactive
Installers:
- Architecture: x64

# TODO: InstallerUrl/InstallerSha256/ReleaseDate needs to be updated by contributors/sign.sh!
InstallerUrl: https://github.com/diskuv/dkml-installer-ocaml/releases/download/v1.0.0/setup-diskuv-ocaml-windows_x86_64-1.0.0.exe
InstallerType: exe
InstallerSha256: 32f010577a791d5595760cbb5136bd60049ffd37c8d44e68e7a8729319670a48
ReleaseDate: 2022-08-08

InstallerSwitches:
Silent: --ci --quiet --color=never
SilentWithProgress: --ci
Interactive: --color=always
InstallLocation: --prefix "<INSTALLPATH>"

AppsAndFeaturesEntries:
# Keep in sync with installer\src\private_common.ml which is used by
# https://github.com/diskuv/dkml-install-api/blob/main/package/console/common/Windows_registry.ml
- Publisher: Diskuv, Inc.
DisplayName: Diskuv OCaml
# TODO: "dev" is a mistake that has been corrected in Diskuv OCaml 1.0.1+
DisplayVersion: dev
ManifestType: installer
ManifestVersion: 1.1.0
42 changes: 42 additions & 0 deletions manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.locale.en-US.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Created using wingetcreate 1.1.2.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.2.0.schema.json

PackageIdentifier: Diskuv.OCaml
PackageVersion: 1.0.0.0
PackageLocale: en-US
Publisher: Diskuv, Inc.
PublisherUrl: https://www.diskuv.com/
PrivacyUrl: https://diskuv.com/legal#privacy_policy
PackageName: Diskuv OCaml
PackageUrl: https://diskuv.gitlab.io/diskuv-ocaml/#introduction
License: Apache License, Version 2.0
LicenseUrl: https://github.com/diskuv/dkml-installer-ocaml/blob/main/LICENSE
Copyright: Copyright 2022 Diskuv, Inc.
CopyrightUrl: https://github.com/diskuv/dkml-installer-ocaml/blob/main/LICENSE
PublisherSupportUrl: https://github.com/diskuv/dkml-installer-ocaml/issues
ShortDescription: The Windows-friendly distribution of OCaml.
Description: |-
The Diskuv OCaml distribution is an open-source set of software that supports software development in pure OCaml. The distribution's strengths are its:

✓ full compatibility with OCaml standards like Opam, Dune and ocamlfind
✓ laser focus on "native" development (desktop software, mobile apps and embedded software) through support for the standard native compilers like Visual Studio and Xcode
✓ ease-of-use through simplified installers and simple productivity commands; high school students should be able to use it
✓ security through reproducibility, versioning and from-source builds

These alternatives may be better depending on your use case:

* Developing in a Javascript first environment? Have a look at Esy and Reason
* Developing operating system kernels? Have a look at Mirage OS
* Developing Linux server software like web servers? Plain old OCaml on Debian, etc. works well
* Writing compilers or proofs? Plain old OCaml works really well
* Wanting quick installations? Use anything but Diskuv OCaml! Diskuv OCaml will conduct from-source builds unless it can guarantee (and code sign) the binaries are reproducible. Today that means a lot of compiling.
Moniker: dkml
Tags:
- foss
- language
- ocaml
- open-source
- programming
ReleaseNotesUrl: https://github.com/diskuv/dkml-installer-ocaml/releases/tag/v1.0.0
ManifestType: defaultLocale
ManifestVersion: 1.1.0
7 changes: 7 additions & 0 deletions manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Created using wingetcreate 1.1.2.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.2.0.schema.json
PackageIdentifier: Diskuv.OCaml
PackageVersion: 1.0.0.0
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.1.0