mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
ocamlPackages.csexp: fix minimum OCaml version
This commit is contained in:
parent
4271a89175
commit
f12817d400
1 changed files with 3 additions and 5 deletions
|
@ -1,19 +1,17 @@
|
|||
{ lib, fetchurl, buildDunePackage }:
|
||||
{ lib, fetchurl, buildDunePackage, result }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "csexp";
|
||||
version = "1.3.2";
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
minimumOCamlVersion = "4.02.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-dune/csexp/releases/download/${version}/csexp-${version}.tbz";
|
||||
sha256 = "0jhwrxfjb0x31xj4g4b89fzw34sq19j0rq2hs2zyh1vz4xxl47zj";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/csexp.ml --replace Result.result Result.t
|
||||
'';
|
||||
propagatedBuildInputs = [ result ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ocaml-dune/csexp";
|
||||
|
|
Loading…
Reference in a new issue