about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-12-09 08:38:50 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2017-12-16 12:14:35 +0100
commit12c5fe3e2dec6178cfef286ccc0a3078a0b63456 (patch)
tree838685941cc165df0f00e8893b11f913a79d18b0 /pkgs/development/ocaml-modules
parent79ba6863716cb615ae1789034f48f819400adc39 (diff)
downloadnixlib-12c5fe3e2dec6178cfef286ccc0a3078a0b63456.tar
nixlib-12c5fe3e2dec6178cfef286ccc0a3078a0b63456.tar.gz
nixlib-12c5fe3e2dec6178cfef286ccc0a3078a0b63456.tar.bz2
nixlib-12c5fe3e2dec6178cfef286ccc0a3078a0b63456.tar.lz
nixlib-12c5fe3e2dec6178cfef286ccc0a3078a0b63456.tar.xz
nixlib-12c5fe3e2dec6178cfef286ccc0a3078a0b63456.tar.zst
nixlib-12c5fe3e2dec6178cfef286ccc0a3078a0b63456.zip
ocamlPackages.cairo2: 0.4.6 -> 0.5
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/cairo2/default.nix (renamed from pkgs/development/ocaml-modules/ocaml-cairo2/default.nix)11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-cairo2/default.nix b/pkgs/development/ocaml-modules/cairo2/default.nix
index d9cab2a759da..b37dd413f693 100644
--- a/pkgs/development/ocaml-modules/ocaml-cairo2/default.nix
+++ b/pkgs/development/ocaml-modules/cairo2/default.nix
@@ -6,17 +6,16 @@
 
 let
   inherit (stdenv.lib) optionals;
-  pname = "ocaml-cairo2";
-  version = "0.4.6";
+  version = "0.5";
 in
 
 stdenv.mkDerivation {
 
-  name = "${pname}-${version}";
+  name = "ocaml${ocaml.version}-cairo2-${version}";
 
   src = fetchurl {
-    url = "http://forge.ocamlcore.org/frs/download.php/1279/cairo2-0.4.6.tar.gz";
-    sha256 = "1lc1iv5yz49avbc0wbrw9nrx8dn0c35r7cykivjln1zc2fwscf7w";
+    url = "https://github.com/Chris00/ocaml-cairo/releases/download/${version}/cairo2-${version}.tar.gz";
+    sha256 = "1559df74rzh4v7c9hr6phymq1f5121s83q0xy3r83x4apj74dchj";
   };
 
   nativeBuildInputs = [ pkgconfig ];
@@ -39,7 +38,7 @@ stdenv.mkDerivation {
   installPhase = "ocaml setup.ml -install";
 
   meta = with stdenv.lib; {
-    homepage = http://forge.ocamlcore.org/projects/cairo;
+    homepage = "https://github.com/Chris00/ocaml-cairo";
     description = "Binding to Cairo, a 2D Vector Graphics Library";
     longDescription = ''
       This is a binding to Cairo, a 2D graphics library with support for