2023-05-24 13:37:59 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, liquidsoap }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "csexp";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "1.5.2";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocaml-dune/csexp/releases/download/${version}/csexp-${version}.tbz";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-GhTdBLtDeaQZkCSFUGKMd5E6nAfzw1wTcLaWDml3h/8=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
minimalOCamlVersion = "4.03";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
passthru.tests = {
|
|
|
|
inherit liquidsoap;
|
|
|
|
};
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimal support for Canonical S-expressions";
|
2023-05-24 13:37:59 +00:00
|
|
|
homepage = "https://github.com/ocaml-dune/csexp";
|
|
|
|
changelog = "https://github.com/ocaml-dune/csexp/raw/${version}/CHANGES.md";
|
2020-09-25 04:45:31 +00:00
|
|
|
license = licenses.mit;
|
2021-06-28 23:13:55 +00:00
|
|
|
maintainers = with maintainers; [ marsam ];
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|