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