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-03-12 05:20:52 +00:00
|
|
|
version = "1.4.0";
|
2020-09-03 01:00:00 +01:00
|
|
|
|
2021-01-01 10:06:18 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-09-27 16:33:13 +01:00
|
|
|
minimumOCamlVersion = "4.02.3";
|
2020-09-03 01:00:00 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocaml-dune/csexp/releases/download/${version}/csexp-${version}.tbz";
|
2021-03-12 05:20:52 +00:00
|
|
|
sha256 = "sha256-jj1vyofxAqEm3ui3KioNFG8QQ5xHIY38FJ1Rvz7fNk4=";
|
2020-09-03 01:00:00 +01:00
|
|
|
};
|
|
|
|
|
2020-09-27 16:33:13 +01:00
|
|
|
propagatedBuildInputs = [ result ];
|
2020-09-03 01:00:00 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/ocaml-dune/csexp";
|
|
|
|
description = "Minimal support for Canonical S-expressions";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|