diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/csexp')
-rw-r--r-- | pkgs/development/ocaml-modules/csexp/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/csexp/default.nix b/pkgs/development/ocaml-modules/csexp/default.nix new file mode 100644 index 00000000000..664d9a773ab --- /dev/null +++ b/pkgs/development/ocaml-modules/csexp/default.nix @@ -0,0 +1,25 @@ +{ lib, fetchurl, buildDunePackage, result }: + +buildDunePackage rec { + pname = "csexp"; + version = "1.5.1"; + + src = fetchurl { + url = "https://github.com/ocaml-dune/csexp/releases/download/${version}/csexp-${version}.tbz"; + sha256 = "sha256-1gXkBl+pCliABEDvLzOi2TE5i/LCIGGorLffhFwKrAI="; + }; + + minimumOCamlVersion = "4.03"; + useDune2 = true; + + propagatedBuildInputs = [ + result + ]; + + meta = with lib; { + homepage = "https://github.com/ocaml-dune/csexp/"; + description = "Minimal support for Canonical S-expressions"; + license = licenses.mit; + maintainers = with maintainers; [ marsam ]; + }; +} |