diff --git a/manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.installer.yaml b/manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.installer.yaml new file mode 100644 index 0000000000000..8cc220587a69d --- /dev/null +++ b/manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.installer.yaml @@ -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: /bin + # BUT ... Opam will be releasing an MSI soon so _do not conflict_ + # - opam + # - opam-installer + # - opam-putenv + + # PATH entry: /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 "" + + 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 diff --git a/manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.locale.en-US.yaml b/manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.locale.en-US.yaml new file mode 100644 index 0000000000000..23d2993764018 --- /dev/null +++ b/manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.locale.en-US.yaml @@ -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 diff --git a/manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.yaml b/manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.yaml new file mode 100644 index 0000000000000..123530eac29d0 --- /dev/null +++ b/manifests/d/Diskuv/OCaml/1.0.0.0/Diskuv.OCaml.yaml @@ -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