mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
primecount: init at 7.2
This commit is contained in:
parent
b0bf5f888d
commit
2ace52c087
@ -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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user