primecount: init at 7.2

This commit is contained in:
Mauricio Collares 2021-12-14 14:03:46 -03:00
parent b0bf5f888d
commit 2ace52c087
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, stdenv, fetchFromGitHub, cmake, primesieve }:
stdenv.mkDerivation rec {
pname = "primecount";
version = "7.2";
nativeBuildInputs = [ cmake ];
buildInputs = [ primesieve ];
src = fetchFromGitHub {
owner = "kimwalisch";
repo = "primecount";
rev = "v${version}";
sha256 = "sha256-/Cb/HkD4UQ9gXsRpvRiEuQBoRd0THxNHsBaAAa+CqQo=";
};
meta = with lib; {
description = "Fast prime counting function implementations";
homepage = "https://github.com/kimwalisch/primecount";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = teams.sage.members;
};
}

View File

@ -19202,6 +19202,8 @@ with pkgs;
prime-server = callPackage ../development/libraries/prime-server { };
primecount = callPackage ../development/libraries/science/math/primecount { };
primesieve = callPackage ../development/libraries/science/math/primesieve { };
prison = callPackage ../development/libraries/prison { };