ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / ca / calcium / package.nix
blob03e27e1fce152bb8f4457b02923851fe5495c8e7
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , mpir
5 , gmp
6 , mpfr
7 , flint
8 , arb
9 , antic
12 stdenv.mkDerivation rec {
13   pname = "calcium";
14   version = "0.4.1";
16   src = fetchFromGitHub {
17     owner = "fredrik-johansson";
18     repo = pname;
19     rev = version;
20     sha256 = "sha256-Ony2FGMnWyNqD7adGeiDtysHNZ4ClMvQ1ijVPSHJmyc=";
21   };
23   buildInputs = [ mpir gmp mpfr flint arb antic ];
25   configureFlags = [
26     "--with-gmp=${gmp}"
27     "--with-mpir=${mpir}"
28     "--with-mpfr=${mpfr}"
29     "--with-flint=${flint}"
30     "--with-arb=${arb}"
31     "--with-antic=${antic}"
32   ];
34   enableParallelBuilding = true;
36   meta = with lib; {
37     description = "C library for exact computation with real and complex numbers";
38     homepage = "https://fredrikj.net/calcium/";
39     license = licenses.lgpl21Plus;
40     maintainers = with maintainers; [ smasher164 ];
41     platforms = platforms.unix;
42   };