summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-10-14 08:06:01 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-10-14 08:17:06 +0000
commitc2758900a1be38e394b9dab5f1201e8703b695a5 (patch)
treea27516180739748de9a17c682115f7e0da4afcda /pkgs/development/ocaml-modules
parent4ea954477f8ed8995119699bb7472b3295a77c02 (diff)
downloadnixlib-c2758900a1be38e394b9dab5f1201e8703b695a5.tar
nixlib-c2758900a1be38e394b9dab5f1201e8703b695a5.tar.gz
nixlib-c2758900a1be38e394b9dab5f1201e8703b695a5.tar.bz2
nixlib-c2758900a1be38e394b9dab5f1201e8703b695a5.tar.lz
nixlib-c2758900a1be38e394b9dab5f1201e8703b695a5.tar.xz
nixlib-c2758900a1be38e394b9dab5f1201e8703b695a5.tar.zst
nixlib-c2758900a1be38e394b9dab5f1201e8703b695a5.zip
ocamlPackages.ansiterminal: 0.6.5 -> 0.7
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/ansiterminal/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/ansiterminal/default.nix b/pkgs/development/ocaml-modules/ansiterminal/default.nix
index ee25a47670ea..7b9f01751517 100644
--- a/pkgs/development/ocaml-modules/ansiterminal/default.nix
+++ b/pkgs/development/ocaml-modules/ansiterminal/default.nix
@@ -1,12 +1,14 @@
 { stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
 
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
 
-  name = "ansiterminal-0.6.5";
+  version = "0.7";
+
+  name = "ocaml${ocaml.version}-ansiterminal-${version}";
 
   src = fetchurl {
-    url = "https://forge.ocamlcore.org/frs/download.php/1206/ANSITerminal-0.6.5.tar.gz";
-    sha256 = "1j9kflv2i16vf9hy031cl6z8hv6791mjbhnd9bw07y1pswdlx1r6";
+    url = "https://github.com/Chris00/ANSITerminal/releases/download/${version}/ANSITerminal-${version}.tar.gz";
+    sha256 = "03pqfxvw9pa9720l8i5fgxky1qx70kw6wxbczd5i50xi668lh0i9";
   };
 
   buildInputs = [ ocaml findlib ocamlbuild ];
@@ -20,7 +22,7 @@ stdenv.mkDerivation {
   createFindlibDestdir = true;
 
   meta = with stdenv.lib; {
-    homepage = https://forge.ocamlcore.org/projects/ansiterminal;
+    homepage = "https://github.com/Chris00/ANSITerminal";
     description = "A module allowing to use the colors and cursor movements on ANSI terminals";
     longDescription = ''
       ANSITerminal is a module allowing to use the colors and cursor