summary refs log tree commit diff
path: root/pkgs/development/libraries/science/math/primesieve/default.nix
blob: faa219044bd3ff49e6eeabfcf4a0ebc21a1dc250 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, cmake }:

stdenv.mkDerivation rec {
  pname = "primesieve";
  version = "7.4";

  nativeBuildInputs = [cmake];

  src = fetchurl {
    url = "https://github.com/kimwalisch/primesieve/archive/v${version}.tar.gz";
    sha256 = "16930d021ai8cl3gsnn2v6l30n6mklwwqd53z51cddd3dj69x6zz";
  };

  meta = with stdenv.lib; {
    description = "Fast C/C++ prime number generator";
    homepage = "https://primesieve.org/";
    license = licenses.bsd2;
    platforms = platforms.unix;
    maintainers = with maintainers; [ abbradar ];
  };
}