diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2023-01-11 10:29:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 10:29:30 +0100 |
commit | 2cc918c11331f153f1d6298f9ef5992c5133ef75 (patch) | |
tree | ed124c9121de89bb63ed641f55b49d9b433962f8 | |
parent | c3b9f2238fbc7a396e516e93e5fc3e8ee2fbc8b2 (diff) | |
parent | 441c9277efa16c3cc55e002ffe5bddac833ee32b (diff) |
Merge pull request #209644 from smasher164/antic
antic: init at 0.2.5
-rw-r--r-- | pkgs/development/libraries/antic/default.nix | 41 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/libraries/antic/default.nix b/pkgs/development/libraries/antic/default.nix new file mode 100644 index 000000000000..5a8e00d90f5a --- /dev/null +++ b/pkgs/development/libraries/antic/default.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, fetchFromGitHub +, mpir +, gmp +, mpfr +, flint +}: + +stdenv.mkDerivation rec { + pname = "antic"; + version = "0.2.5"; + + src = fetchFromGitHub { + owner = "flintlib"; + repo = pname; + 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 = "An algebraic number theory library"; + homepage = "https://github.com/flintlib/antic"; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ smasher164 ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f33f49a051fc..62a15752fea4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18572,6 +18572,8 @@ with pkgs; ansi2html = with python3.pkgs; toPythonApplication ansi2html; + antic = callPackage ../development/libraries/antic {}; + anttweakbar = callPackage ../development/libraries/AntTweakBar { }; appstream = callPackage ../development/libraries/appstream { }; |