1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/ocaml-modules/csexp/default.nix

26 lines
623 B
Nix
Raw Normal View History

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