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

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

  nativeBuildInputs = [cmake];

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

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