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