ocamlPackages.prelude: init at 0.5
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
parent
81c9418a82
commit
181ab63cec
29
pkgs/development/ocaml-modules/prelude/default.nix
Normal file
29
pkgs/development/ocaml-modules/prelude/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
lib,
|
||||
buildDunePackage,
|
||||
fetchzip,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "prelude";
|
||||
version = "0.5";
|
||||
|
||||
minimalOCamlVersion = "4.13";
|
||||
|
||||
# upstream git repo is misconfigured and cannot be cloned
|
||||
src = fetchzip {
|
||||
url = "https://git.zapashcanon.fr/zapashcanon/prelude/archive/${version}.tar.gz";
|
||||
hash = "sha256-lti+q1U/eEasAXo0O5YEu4iw7947V9bdvSHA0IEMS8M=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Library to enforce good stdlib practices";
|
||||
homepage = "https://ocaml.org/p/prelude/";
|
||||
downloadPage = "https://git.zapashcanon.fr/zapashcanon/prelude";
|
||||
changelog = "https://git.zapashcanon.fr/zapashcanon/prelude/src/tag/${version}/CHANGES.md";
|
||||
license = lib.licenses.agpl3Plus;
|
||||
maintainers = [ lib.maintainers.ethancedwards8 ];
|
||||
};
|
||||
}
|
@ -1768,6 +1768,8 @@ let
|
||||
|
||||
pratter = callPackage ../development/ocaml-modules/pratter { };
|
||||
|
||||
prelude = callPackage ../development/ocaml-modules/prelude { };
|
||||
|
||||
prettym = callPackage ../development/ocaml-modules/prettym { };
|
||||
|
||||
printbox = callPackage ../development/ocaml-modules/printbox { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user