tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
flint: init at 2.5.2
Michael Raskin
9 years ago
2bb5bdd1
71f659d8
+24
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
flint
default.nix
top-level
all-packages.nix
+22
pkgs/development/libraries/flint/default.nix
···
1
1
+
{stdenv, fetchurl, gmp, mpir, mpfr, openblas, ntl}:
2
2
+
stdenv.mkDerivation rec {
3
3
+
name = "flint-${version}";
4
4
+
version = "2.5.2";
5
5
+
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
6
6
+
src = fetchurl {
7
7
+
url = "http://www.flintlib.org/flint-${version}.tar.gz";
8
8
+
sha256 = "11syazv1a8rrnac3wj3hnyhhflpqcmq02q8pqk2m6g2k6h0gxwfb";
9
9
+
};
10
10
+
buildInputs = [gmp mpir mpfr openblas ntl];
11
11
+
configureFlags = "--with-gmp=${gmp} --with-mpir=${mpir} --with-mpfr=${mpfr} --with-blas=${openblas} --with-ntl=${ntl}";
12
12
+
meta = {
13
13
+
inherit version;
14
14
+
description = ''Fast Library for Number Theory'';
15
15
+
license = stdenv.lib.licenses.gpl2Plus;
16
16
+
maintainers = [stdenv.lib.maintainers.raskin];
17
17
+
platforms = stdenv.lib.platforms.linux;
18
18
+
homepage = "http://www.flintlib.org/";
19
19
+
downloadPage = "http://www.flintlib.org/downloads.html";
20
20
+
updateWalker = true;
21
21
+
};
22
22
+
}
+2
pkgs/top-level/all-packages.nix
···
6876
6876
6877
6877
flann = callPackage ../development/libraries/flann { };
6878
6878
6879
6879
+
flint = callPackage ../development/libraries/flint { };
6880
6880
+
6879
6881
flite = callPackage ../development/libraries/flite { };
6880
6882
6881
6883
fltk13 = callPackage ../development/libraries/fltk { };