2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake }:
|
2019-02-04 12:03:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "primesieve";
|
2021-01-21 02:02:31 +00:00
|
|
|
version = "7.6";
|
2019-02-04 12:03:50 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [cmake];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/kimwalisch/primesieve/archive/v${version}.tar.gz";
|
2021-01-21 02:02:31 +00:00
|
|
|
sha256 = "sha256-SFZp6Pmmx05SiUfSdN9wXxPKrydtRg0PA3uNvAycCpk=";
|
2019-02-04 12:03:50 +00:00
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-02-04 12:03:50 +00:00
|
|
|
description = "Fast C/C++ prime number generator";
|
|
|
|
homepage = "https://primesieve.org/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|