about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/csexp/default.nix
blob: e819627807510ab571e0c7e55a27757ef990ea7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, fetchurl, buildDunePackage, liquidsoap }:

buildDunePackage rec {
  pname = "csexp";
  version = "1.5.2";

  src = fetchurl {
    url = "https://github.com/ocaml-dune/csexp/releases/download/${version}/csexp-${version}.tbz";
    hash = "sha256-GhTdBLtDeaQZkCSFUGKMd5E6nAfzw1wTcLaWDml3h/8=";
  };

  minimalOCamlVersion = "4.03";

  passthru.tests = {
    inherit liquidsoap;
  };

  meta = with lib; {
    description = "Minimal support for Canonical S-expressions";
    homepage = "https://github.com/ocaml-dune/csexp";
    changelog = "https://github.com/ocaml-dune/csexp/raw/${version}/CHANGES.md";
    license = licenses.mit;
    maintainers = with maintainers; [ marsam ];
  };
}