Unverified Commit 1f9c08cf authored by Mauricio Collares's avatar Mauricio Collares Committed by GitHub
Browse files

flint: 2.9.0 -> 3.1.2 (#262701)

parents ca77b4bc 891d1931
Loading
Loading
Loading
Loading

pkgs/by-name/an/antic/package.nix

deleted100644 → 0
+0 −47
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  mpir,
  gmp,
  mpfr,
  flint,
}:

stdenv.mkDerivation rec {
  pname = "antic";
  version = "0.2.5";

  src = fetchFromGitHub {
    owner = "flintlib";
    repo = "antic";
    rev = "v${version}";
    sha256 = "sha256-bQ2VvCS+lGro5qxs+qBz3RpUenxQTmTr+lm9BFZWYts=";
  };

  buildInputs = [
    mpir
    gmp
    mpfr
    flint
  ];

  configureFlags = [
    "--with-gmp=${gmp}"
    "--with-mpir=${mpir}"
    "--with-mpfr=${mpfr}"
    "--with-flint=${flint}"
  ];

  enableParallelBuilding = true;

  doCheck = true;

  meta = with lib; {
    description = "Algebraic number theory library";
    homepage = "https://github.com/flintlib/antic";
    license = licenses.lgpl21Plus;
    maintainers = with maintainers; [ smasher164 ];
    platforms = platforms.unix;
  };
}

pkgs/by-name/ar/arb/package.nix

deleted100644 → 0
+0 −47
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  mpir,
  gmp,
  mpfr,
  flint,
}:

stdenv.mkDerivation rec {
  pname = "arb";
  version = "2.23.0";

  src = fetchFromGitHub {
    owner = "fredrik-johansson";
    repo = "arb";
    rev = version;
    sha256 = "sha256-dt9PZ3Xfn60rhmnxYo7CEzNTEUN/wMVAXe8U5PzUO9U=";
  };

  buildInputs = [
    mpir
    gmp
    mpfr
    flint
  ];

  configureFlags = [
    "--with-gmp=${gmp}"
    "--with-mpir=${mpir}"
    "--with-mpfr=${mpfr}"
    "--with-flint=${flint}"
  ];

  enableParallelBuilding = true;

  doCheck = true;

  meta = with lib; {
    description = "Library for arbitrary-precision interval arithmetic";
    homepage = "https://arblib.org/";
    license = licenses.lgpl21Plus;
    maintainers = teams.sage.members;
    platforms = platforms.unix;
  };
}
+0 −51
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  mpir,
  gmp,
  mpfr,
  flint,
  arb,
  antic,
}:

stdenv.mkDerivation rec {
  pname = "calcium";
  version = "0.4.1";

  src = fetchFromGitHub {
    owner = "fredrik-johansson";
    repo = "calcium";
    rev = version;
    sha256 = "sha256-Ony2FGMnWyNqD7adGeiDtysHNZ4ClMvQ1ijVPSHJmyc=";
  };

  buildInputs = [
    mpir
    gmp
    mpfr
    flint
    arb
    antic
  ];

  configureFlags = [
    "--with-gmp=${gmp}"
    "--with-mpir=${mpir}"
    "--with-mpfr=${mpfr}"
    "--with-flint=${flint}"
    "--with-arb=${arb}"
    "--with-antic=${antic}"
  ];

  enableParallelBuilding = true;

  meta = with lib; {
    description = "C library for exact computation with real and complex numbers";
    homepage = "https://fredrikj.net/calcium/";
    license = licenses.lgpl21Plus;
    maintainers = with maintainers; [ smasher164 ];
    platforms = platforms.unix;
  };
}
+0 −63
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  gmp,
  mpfr,
  ntl,
  openblas ? null,
  blas,
  lapack,
  withBlas ? true,
}:

assert
  withBlas
  -> openblas != null && blas.implementation == "openblas" && lapack.implementation == "openblas";

stdenv.mkDerivation rec {
  pname = "flint";
  version = "2.9.0";

  src = fetchurl {
    url = "https://www.flintlib.org/flint-${version}.tar.gz";
    sha256 = "sha256-L8CQ1RAzyTII5sENQGOXpTyYOuU0O5WOsl9ypXpM52o=";
  };

  buildInputs =
    [
      gmp
      mpfr
      ntl
    ]
    ++ lib.optionals withBlas [
      openblas
    ];

  propagatedBuildInputs = [
    mpfr # flint.h includes mpfr.h
  ];

  configureFlags =
    [
      "--with-gmp=${gmp}"
      "--with-mpfr=${mpfr}"
      "--with-ntl=${ntl}"
    ]
    ++ lib.optionals withBlas [
      "--with-blas=${openblas}"
    ];

  enableParallelBuilding = true;

  doCheck = true;

  meta = with lib; {
    description = "Fast Library for Number Theory";
    license = licenses.gpl2Plus;
    maintainers = teams.sage.members;
    platforms = platforms.unix;
    homepage = "https://www.flintlib.org/";
    downloadPage = "https://www.flintlib.org/downloads.html";
  };
}
+3 −0
Original line number Diff line number Diff line
@@ -170,6 +170,7 @@ mapAliases {
  ankisyncd = throw "ankisyncd is dead, use anki-sync-server instead"; # Added 2024-08-10
  ao = libfive; # Added 2024-10-11
  anbox = throw "'anbox' has been removed as the upstream project is unmaintained, see https://github.com/anbox/.github/blob/main/profile/README.md"; # Added 2025-01-04
  antic = throw "'antic' has been removed as it has been merged into 'flint3'"; # Added 2025-03-28
  anevicon = throw "'anevicon' has been removed because the upstream repository no longer exists"; # Added 2025-01-26
  apacheKafka_3_5 = throw "apacheKafka_2_8 through _3_6 have been removed from nixpkgs as outdated"; # Added 2024-06-13
  apacheKafka_3_6 = throw "apacheKafka_2_8 through _3_6 have been removed from nixpkgs as outdated"; # Added 2024-11-27
@@ -180,6 +181,7 @@ mapAliases {
  apple-sdk_10_14 = throw "apple-sdk_10_14 was removed as Nixpkgs no longer supprots macOS 10.14; see the 25.05 release notes"; # Added 2024-10-27
  apple-sdk_10_15 = throw "apple-sdk_10_15 was removed as Nixpkgs no longer supports macOS 10.15; see the 25.05 release notes"; # Added 2024-10-27
  appthreat-depscan = dep-scan; # Added 2024-04-10
  arb = throw "'arb' has been removed as it has been merged into 'flint3'"; # Added 2025-03-28
  arcanist = throw "arcanist was removed as phabricator is not supported and does not accept fixes"; # Added 2024-06-07
  argo = argo-workflows; # Added 2025-02-01
  aria = aria2; # Added 2024-03-26
@@ -258,6 +260,7 @@ mapAliases {
  ### C ###

  caffeWithCuda = throw "caffeWithCuda has been removed, as it was broken and required CUDA 10"; # Added 2024-11-20
  calcium = throw "'calcium' has been removed as it has been merged into 'flint3'"; # Added 2025-03-28
  calculix = calculix-ccx; # Added 2024-12-18
  calligra = kdePackages.calligra; # Added 2024-09-27
  callPackage_i686 = pkgsi686Linux.callPackage;
Loading