tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
calcium: init at 0.4.1
Akhil Indurti
3 years ago
fc63c84b
c9c4aea7
+45
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
calcium
default.nix
top-level
all-packages.nix
+43
pkgs/development/libraries/calcium/default.nix
reviewed
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, mpir
5
5
+
, gmp
6
6
+
, mpfr
7
7
+
, flint
8
8
+
, arb
9
9
+
, antic
10
10
+
}:
11
11
+
12
12
+
stdenv.mkDerivation rec {
13
13
+
pname = "calcium";
14
14
+
version = "0.4.1";
15
15
+
16
16
+
src = fetchFromGitHub {
17
17
+
owner = "fredrik-johansson";
18
18
+
repo = pname;
19
19
+
rev = version;
20
20
+
sha256 = "sha256-Ony2FGMnWyNqD7adGeiDtysHNZ4ClMvQ1ijVPSHJmyc=";
21
21
+
};
22
22
+
23
23
+
buildInputs = [ mpir gmp mpfr flint arb antic ];
24
24
+
25
25
+
configureFlags = [
26
26
+
"--with-gmp=${gmp}"
27
27
+
"--with-mpir=${mpir}"
28
28
+
"--with-mpfr=${mpfr}"
29
29
+
"--with-flint=${flint}"
30
30
+
"--with-arb=${arb}"
31
31
+
"--with-antic=${antic}"
32
32
+
];
33
33
+
34
34
+
enableParallelBuilding = true;
35
35
+
36
36
+
meta = with lib; {
37
37
+
description = "A C library for exact computation with real and complex numbers";
38
38
+
homepage = "https://fredrikj.net/calcium/";
39
39
+
license = licenses.lgpl21Plus;
40
40
+
maintainers = with maintainers; [ smasher164 ];
41
41
+
platforms = platforms.unix;
42
42
+
};
43
43
+
}
+2
pkgs/top-level/all-packages.nix
reviewed
···
18794
18794
};
18795
18795
});
18796
18796
18797
18797
+
calcium = callPackage ../development/libraries/calcium {};
18798
18798
+
18797
18799
cubeb = callPackage ../development/libraries/audio/cubeb {
18798
18800
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreServices;
18799
18801
};