Rerouted (archive, verified). The original repository is gone. This copy comes from an archive (Software Heritage). The Lamdera package server serves a copy recovered from swh:1:rev:ccedc9b26200893c07fe8295a6a061cb4d4b8e7f (Software Heritage, origin https://github.com/eco-pro/project-metadata-utils).
What we checked: Software Heritage archived tag 1.0.0 of github.com/eco-pro/project-metadata-utils at commit ccedc9b26200; its commit ccedc9b26200 is from 2021-02-20 17:08 UTC, before the version was published (2021-02-20 17:14 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip is our own, made from Software Heritage's copy of the files Elm uses, so its SHA-1 is not the published one.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/eco-pro/project-metadata-utils/zipball/1.0.0/
The elm.json for packages always has a "license" field. That field
must contain an OSI approved license in the SPDX format.
This module helps verify that licenses are acceptable.
Easy access to a license commonly used in the Elm ecosystem.
name = BSD 3-clause "New" or "Revised" Licensespdx = BSD-3-ClauseExtract the common name of a License, along with its standardized
spdx abbreviation.
toDetails bsd3
-- { name = "BSD 3-clause \"New\" or \"Revised\" License"
-- , spdx = "BSD-3-Clause"
-- }OSI approved licenses in SPDX format.
Convert a License to its SPDX abbreviation:
toString bsd3 == "BSD-3-Clause"Convert an arbitrary String into a License:
fromString "BSD-3-Clause" == Just bsd3
fromString "BSD3" == NothingNotice that this function only succeds when given an OSI approved license in its SPDX abbreviation. Go here for a full list of such licenses.
An OSI approved license in the SPDX format. It is impossible to construct an invalid
Licensevalue.