ocamlPackages.notty: 0.2.1 → 0.2.2
This commit is contained in:
parent
e16c7dae25
commit
759cac4288
@ -4,19 +4,19 @@
|
|||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
if !versionAtLeast ocaml.version "4.03"
|
if !versionAtLeast ocaml.version "4.05"
|
||||||
then throw "notty is not available for OCaml ${ocaml.version}"
|
then throw "notty is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
let withLwt = lwt != null; in
|
let withLwt = lwt != null; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.2.1";
|
version = "0.2.2";
|
||||||
name = "ocaml${ocaml.version}-notty-${version}";
|
name = "ocaml${ocaml.version}-notty-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/pqwy/notty/releases/download/v${version}/notty-${version}.tbz";
|
url = "https://github.com/pqwy/notty/releases/download/v${version}/notty-${version}.tbz";
|
||||||
sha256 = "0wdfmgx1mz77s7m451vy8r9i4iqwn7s7b39kpbpckf3w9417riq0";
|
sha256 = "1y3hx8zjri3x50nyiqal5gak1sw54gw3xssrqbj7srinvkdmrz1q";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild topkg ocb-stubblr ];
|
buildInputs = [ ocaml findlib ocamlbuild topkg ocb-stubblr ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user