Merge pull request #89727 from vbgl/ocaml-sexplib-remove-legacy
ocamlPackages.sexplib_p4: removewip/yesman
commit
c6a8c32613
@ -1,28 +0,0 @@ |
||||
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}: |
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "3.12" |
||||
|| stdenv.lib.versionAtLeast ocaml.version "4.03" |
||||
then throw "sexlib-108.08.00 is not available for OCaml ${ocaml.version}" else |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "ocaml-sexplib-108.08.00"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://ocaml.janestreet.com/ocaml-core/108.08.00/individual/sexplib-108.08.00.tar.gz"; |
||||
sha256 = "11z1k1d7dbb5m957klgalimpr0r602xp5zkkbgbffib1bphasarg"; |
||||
}; |
||||
|
||||
buildInputs = [ocaml findlib]; |
||||
propagatedBuildInputs = [type_conv camlp4]; |
||||
|
||||
createFindlibDestdir = true; |
||||
|
||||
meta = with stdenv.lib; { |
||||
branch = "108"; |
||||
homepage = "https://ocaml.janestreet.com/"; |
||||
description = "Library for serializing OCaml values to and from S-expressions"; |
||||
license = licenses.asl20; |
||||
maintainers = [ maintainers.vbgl ]; |
||||
platforms = ocaml.meta.platforms or []; |
||||
}; |
||||
} |
@ -1,28 +0,0 @@ |
||||
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}: |
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.00" |
||||
|| stdenv.lib.versionAtLeast ocaml.version "4.03" |
||||
then throw "sexlib-111.25.00 is not available for OCaml ${ocaml.version}" else |
||||
|
||||
|
||||
stdenv.mkDerivation { |
||||
name = "ocaml-sexplib-111.25.00"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://ocaml.janestreet.com/ocaml-core/111.25.00/individual/sexplib-111.25.00.tar.gz"; |
||||
sha256 = "0qh0zqp5nakqpmmhh4x7cg03vqj3j2bj4zj0nqdlksai188p9ila"; |
||||
}; |
||||
|
||||
buildInputs = [ocaml findlib]; |
||||
propagatedBuildInputs = [type_conv camlp4]; |
||||
|
||||
createFindlibDestdir = true; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = "https://ocaml.janestreet.com/"; |
||||
description = "Library for serializing OCaml values to and from S-expressions"; |
||||
license = licenses.asl20; |
||||
maintainers = [ maintainers.vbgl maintainers.ericbmerritt ]; |
||||
platforms = ocaml.meta.platforms or []; |
||||
}; |
||||
} |
@ -1,25 +0,0 @@ |
||||
{ stdenv, buildOcaml, fetchurl, ocaml, type_conv, camlp4 }: |
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.02" |
||||
|| stdenv.lib.versionAtLeast ocaml.version "4.03" |
||||
then throw "sexlib-112.24.01 is not available for OCaml ${ocaml.version}" else |
||||
|
||||
buildOcaml rec { |
||||
minimumSupportedOcamlVersion = "4.02"; |
||||
name = "sexplib"; |
||||
version = "112.24.01"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/janestreet/sexplib/archive/${version}.tar.gz"; |
||||
sha256 = "5f776aee295cc51c952aecd4b74b52dd2b850c665cc25b3d69bc42014d3ba073"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ type_conv camlp4 ]; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = "https://ocaml.janestreet.com/"; |
||||
description = "Library for serializing OCaml values to and from S-expressions"; |
||||
license = licenses.asl20; |
||||
maintainers = [ maintainers.ericbmerritt ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue