mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
ocamlPackages.jsonm: 0.9.1 -> 1.0.0
This commit is contained in:
parent
190cc67310
commit
221f20413d
@ -1,24 +1,23 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, uutf }:
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, opam, uutf }:
|
||||
|
||||
let version = "0.9.1"; in
|
||||
let version = "1.0.0"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-jsonm-${version}";
|
||||
name = "ocaml${ocaml.version}-jsonm-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://erratique.ch/software/jsonm/releases/jsonm-${version}.tbz";
|
||||
sha256 = "0wszqrmx8iqlwzvs76fjf4sqh15mv20yjrbyhkd348yq8nhdrm1z";
|
||||
sha256 = "1v3ln6d965lplj28snjdqdqablpp1kx8bw2cfx0m6i157mqyln62";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ];
|
||||
buildInputs = [ ocaml findlib ocamlbuild topkg opam ];
|
||||
propagatedBuildInputs = [ uutf ];
|
||||
|
||||
unpackCmd = "tar xjf $src";
|
||||
|
||||
configurePhase = "ocaml setup.ml -configure --prefix $prefix";
|
||||
buildPhase = "ocaml setup.ml -build";
|
||||
createFindlibDestdir = true;
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
|
||||
inherit (topkg) buildPhase installPhase;
|
||||
|
||||
meta = {
|
||||
description = "An OCaml non-blocking streaming codec to decode and encode the JSON data format";
|
||||
|
Loading…
Reference in New Issue
Block a user