ocamlPackages.fix: 20130611 -> 20201120

authored by superherointj and committed by Vincent Laporte 9fcd7d4e 68f6f37e

+14 -15
+14 -15
pkgs/development/ocaml-modules/fix/default.nix
··· 1 - { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild }: 1 + { lib, fetchFromGitLab, buildDunePackage }: 2 2 3 - assert lib.versionAtLeast (lib.getVersion ocaml) "3.12"; 3 + buildDunePackage rec { 4 + pname = "fix"; 5 + version = "20201120"; 4 6 5 - stdenv.mkDerivation { 6 - 7 - name = "ocaml-fix-20130611"; 8 - 9 - src = fetchurl { 10 - url = "http://gallium.inria.fr/~fpottier/fix/fix-20130611.tar.gz"; 11 - sha256 = "1phlqcs1nb93x9cf0w0hnq2ck4dmn71zm4mxf60w96vb9yb9qzp0"; 7 + src = fetchFromGitLab { 8 + domain = "gitlab.inria.fr"; 9 + owner = "fpottier"; 10 + repo = "fix"; 11 + rev = "${version}"; 12 + sha256 = "sha256-RO+JCG6R2i5uZfwTYEnQBCVq963fjv5lA2wA/8KrgMg="; 12 13 }; 13 14 14 - buildInputs = [ ocaml findlib ocamlbuild ]; 15 - 16 - createFindlibDestdir = true; 15 + minimumOCamlVersion = "4.03"; 16 + useDune2 = true; 17 17 18 18 meta = with lib; { 19 - homepage = "http://gallium.inria.fr/~fpottier/fix/"; 19 + homepage = "https://gitlab.inria.fr/fpottier/fix/"; 20 20 description = "A simple OCaml module for computing the least solution of a system of monotone equations"; 21 21 license = licenses.cecill-c; 22 - maintainers = [ maintainers.vbgl ]; 23 - platforms = ocaml.meta.platforms or []; 22 + maintainers = with maintainers; [ vbgl ]; 24 23 }; 25 24 }