2020-10-07 09:15:18 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, result }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "csexp";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.5.1";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocaml-dune/csexp/releases/download/${version}/csexp-${version}.tbz";
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-1gXkBl+pCliABEDvLzOi2TE5i/LCIGGorLffhFwKrAI=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
result
|
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://github.com/ocaml-dune/csexp/";
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "Minimal support for Canonical S-expressions";
|
|
|
|
license = licenses.mit;
|
2021-06-28 23:13:55 +00:00
|
|
|
maintainers = with maintainers; [ marsam ];
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|