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

26 lines
623 B
Nix
Raw Normal View History

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