primecount: build library
This commit is contained in:
parent
2c912d2f0a
commit
1117dbbcf9
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-/Cb/HkD4UQ9gXsRpvRiEuQBoRd0THxNHsBaAAa+CqQo=";
|
sha256 = "sha256-/Cb/HkD4UQ9gXsRpvRiEuQBoRd0THxNHsBaAAa+CqQo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_STATIC_LIBS=OFF"
|
||||||
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
|
"-DBUILD_TESTS=ON"
|
||||||
|
"-DBUILD_PRIMECOUNT=ON"
|
||||||
|
"-DBUILD_LIBPRIMESIEVE=ON"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fast prime counting function implementations";
|
description = "Fast prime counting function implementations";
|
||||||
homepage = "https://github.com/kimwalisch/primecount";
|
homepage = "https://github.com/kimwalisch/primecount";
|
||||||
|
|
Loading…
Reference in a new issue