2020-10-07 09:15:18 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, result }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "csexp";
|
|
|
|
version = "1.3.2";
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
minimumOCamlVersion = "4.02.3";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocaml-dune/csexp/releases/download/${version}/csexp-${version}.tbz";
|
|
|
|
sha256 = "0jhwrxfjb0x31xj4g4b89fzw34sq19j0rq2hs2zyh1vz4xxl47zj";
|
|
|
|
};
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
propagatedBuildInputs = [ result ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/ocaml-dune/csexp";
|
|
|
|
description = "Minimal support for Canonical S-expressions";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|