2020-09-27 15:33:13 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, result }:
|
2020-09-03 00:00:00 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "csexp";
|
2021-06-05 14:34:30 +00:00
|
|
|
version = "1.5.1";
|
2020-09-03 00:00:00 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocaml-dune/csexp/releases/download/${version}/csexp-${version}.tbz";
|
2021-06-05 14:34:30 +00:00
|
|
|
sha256 = "sha256-1gXkBl+pCliABEDvLzOi2TE5i/LCIGGorLffhFwKrAI=";
|
2020-09-03 00:00:00 +00:00
|
|
|
};
|
|
|
|
|
2021-06-05 14:34:30 +00:00
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
result
|
|
|
|
];
|
2020-09-03 00:00:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-06-05 14:34:30 +00:00
|
|
|
homepage = "https://github.com/ocaml-dune/csexp/";
|
2020-09-03 00:00:00 +00:00
|
|
|
description = "Minimal support for Canonical S-expressions";
|
|
|
|
license = licenses.mit;
|
2021-06-05 14:34:30 +00:00
|
|
|
maintainers = with maintainers; [ marsam ];
|
2020-09-03 00:00:00 +00:00
|
|
|
};
|
|
|
|
}
|