ocamlPackages.erm_xml: 0.3 -> 0.3+20180112
This commit is contained in:
parent
da84efcd12
commit
ab2f86aec3
@ -1,17 +1,17 @@
|
|||||||
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
|
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
|
||||||
|
|
||||||
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
||||||
then throw "erm_xml is not available for OCaml ${ocaml.version}"
|
then throw "erm_xml is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
let version = "0.3"; in
|
let version = "0.3+20180112"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-erm_xml-${version}";
|
name = "ocaml${ocaml.version}-erm_xml-${version}";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/ermine/xml/archive/v${version}.tar.gz";
|
url = "https://github.com/hannesm/xml/archive/bbabdade807d8281fc48806da054b70dfe482479.tar.gz";
|
||||||
sha256 = "19znk5w0qiw3wij4n6w3h5bcr221yy57jf815fr8k9m8kin710g3";
|
sha256 = "1gawpmg8plip0wia0xq60m024dn7l3ykwbjpbqx9f9bdmx74n1rr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild ];
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
|||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/ermine/xml;
|
homepage = https://github.com/hannesm/xml;
|
||||||
description = "XML Parser for discrete data";
|
description = "XML Parser for discrete data";
|
||||||
platforms = ocaml.meta.platforms or [];
|
platforms = ocaml.meta.platforms or [];
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = stdenv.lib.licenses.bsd3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user