nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

calcium: init at 0.4.1

+45
+43
pkgs/development/libraries/calcium/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , mpir 5 + , gmp 6 + , mpfr 7 + , flint 8 + , arb 9 + , antic 10 + }: 11 + 12 + stdenv.mkDerivation rec { 13 + pname = "calcium"; 14 + version = "0.4.1"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "fredrik-johansson"; 18 + repo = pname; 19 + rev = version; 20 + sha256 = "sha256-Ony2FGMnWyNqD7adGeiDtysHNZ4ClMvQ1ijVPSHJmyc="; 21 + }; 22 + 23 + buildInputs = [ mpir gmp mpfr flint arb antic ]; 24 + 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 + ]; 33 + 34 + enableParallelBuilding = true; 35 + 36 + meta = with lib; { 37 + description = "A 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 + }; 43 + }
+2
pkgs/top-level/all-packages.nix
··· 18794 18794 }; 18795 18795 }); 18796 18796 18797 + calcium = callPackage ../development/libraries/calcium {}; 18798 + 18797 18799 cubeb = callPackage ../development/libraries/audio/cubeb { 18798 18800 inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreServices; 18799 18801 };