lol

interval: format

+3 -3
+3 -3
pkgs/development/coq-modules/interval/default.nix
··· 1 1 { lib, mkCoqDerivation, which, autoconf, coq, coquelicot, flocq, bignums ? null, gnuplot_qt, version ? null }: 2 2 3 - with lib; mkCoqDerivation rec { 3 + mkCoqDerivation rec { 4 4 pname = "interval"; 5 5 owner = "coqinterval"; 6 6 domain = "gitlab.inria.fr"; 7 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 9 { case = isGe "8.8" ; out = "4.3.0"; } 10 10 { case = range "8.8" "8.12"; out = "4.0.0"; } 11 11 { case = range "8.7" "8.11"; out = "3.4.2"; } ··· 21 21 22 22 nativeBuildInputs = [ which autoconf ]; 23 23 propagatedBuildInputs = [ bignums coquelicot flocq ] 24 - ++ lib.optionals (versions.isGe "4.2.0" defaultVersion) [ gnuplot_qt ]; 24 + ++ lib.optionals (lib.versions.isGe "4.2.0" defaultVersion) [ gnuplot_qt ]; 25 25 useMelquiondRemake.logpath = "Interval"; 26 26 mlPlugin = true; 27 27 enableParallelBuilding = true;