mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
ocaml-top: 1.1.3 -> 1.1.4
ocamlPackages.ocp-build: 1.99.18-beta -> 1.99.19-beta
This commit is contained in:
parent
5eb9caf7db
commit
b57bf746a1
@ -1,15 +1,15 @@
|
||||
{ stdenv, fetchzip, ncurses
|
||||
, ocamlPackages
|
||||
, opam }:
|
||||
, jbuilder }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-top-1.1.3";
|
||||
name = "ocaml-top-1.1.4";
|
||||
src = fetchzip {
|
||||
url = https://github.com/OCamlPro/ocaml-top/archive/1.1.3.tar.gz;
|
||||
sha256 = "0islyinv7lwhg8hkg4xn30wwz1nv50rj0wpsis8jpimw6jdsnax3";
|
||||
url = https://github.com/OCamlPro/ocaml-top/archive/1.1.4.tar.gz;
|
||||
sha256 = "1lmzjmnzsg8xdz0q5nm95zclihi9z80kzsalapg0s9wq0id8qm4j";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses opam ]
|
||||
buildInputs = [ ncurses jbuilder ]
|
||||
++ (with ocamlPackages; [ ocaml ocpBuild findlib lablgtk ocp-index ]);
|
||||
|
||||
configurePhase = ''
|
||||
@ -17,9 +17,9 @@ stdenv.mkDerivation {
|
||||
ocp-build -init
|
||||
'';
|
||||
|
||||
buildPhase = "ocp-build ocaml-top";
|
||||
buildPhase = "jbuilder build";
|
||||
|
||||
installPhase = "opam-installer --prefix=$out";
|
||||
inherit (jbuilder) installPhase;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.typerex.org/ocaml-top.html;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, ncurses, buildOcaml }:
|
||||
let
|
||||
version = "1.99.18-beta";
|
||||
version = "1.99.19-beta";
|
||||
in
|
||||
buildOcaml {
|
||||
|
||||
@ -11,7 +11,7 @@ buildOcaml {
|
||||
owner = "OCamlPro";
|
||||
repo = "ocp-build";
|
||||
rev = version;
|
||||
sha256 = "14vzam8p1d2c5qxljrhsfppd8a3j9lxx8kzxlplwclkr2laar0ss";
|
||||
sha256 = "162k5l0cxyqanxlml5v8mqapdq5qbqc9m4b8wdjq7mf523b3h2zj";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml ];
|
||||
|
Loading…
Reference in New Issue
Block a user