nixpkgs-suyu/pkgs/development/ocaml-modules/csexp/default.nix

25 lines
614 B
Nix
Raw Normal View History

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