nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchzip,
5}:
6
7buildDunePackage rec {
8 pname = "prelude";
9 version = "0.5";
10
11 minimalOCamlVersion = "4.13";
12
13 # upstream git repo is misconfigured and cannot be cloned
14 src = fetchzip {
15 url = "https://git.zapashcanon.fr/zapashcanon/prelude/archive/${version}.tar.gz";
16 hash = "sha256-lti+q1U/eEasAXo0O5YEu4iw7947V9bdvSHA0IEMS8M=";
17 };
18
19 doCheck = true;
20
21 meta = {
22 description = "Library to enforce good stdlib practices";
23 homepage = "https://ocaml.org/p/prelude/";
24 downloadPage = "https://git.zapashcanon.fr/zapashcanon/prelude";
25 changelog = "https://git.zapashcanon.fr/zapashcanon/prelude/src/tag/${version}/CHANGES.md";
26 license = lib.licenses.agpl3Plus;
27 maintainers = [ lib.maintainers.ethancedwards8 ];
28 };
29}