evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / an / antic / package.nix
blob3534b40122f14dc621d60c0c55914de2131ac4c5
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , mpir
5 , gmp
6 , mpfr
7 , flint
8 }:
10 stdenv.mkDerivation rec {
11   pname = "antic";
12   version = "0.2.5";
14   src = fetchFromGitHub {
15     owner = "flintlib";
16     repo = pname;
17     rev = "v${version}";
18     sha256 = "sha256-bQ2VvCS+lGro5qxs+qBz3RpUenxQTmTr+lm9BFZWYts=";
19   };
21   buildInputs = [ mpir gmp mpfr flint ];
23   configureFlags = [
24     "--with-gmp=${gmp}"
25     "--with-mpir=${mpir}"
26     "--with-mpfr=${mpfr}"
27     "--with-flint=${flint}"
28   ];
30   enableParallelBuilding = true;
32   doCheck = true;
34   meta = with lib; {
35     description = "Algebraic number theory library";
36     homepage = "https://github.com/flintlib/antic";
37     license = licenses.lgpl21Plus;
38     maintainers = with maintainers; [ smasher164 ];
39     platforms = platforms.unix;
40   };