nixpkgs/pkgs/development/libraries/science/math/primesieve/default.nix
2020-01-07 00:22:48 -08:00

22 lines
550 B
Nix

{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
pname = "primesieve";
version = "7.5";
nativeBuildInputs = [cmake];
src = fetchurl {
url = "https://github.com/kimwalisch/primesieve/archive/v${version}.tar.gz";
sha256 = "0g60br3p8di92jx3pr2bb51xh15gg57l7qvwzwn7xf7l585hgi7v";
};
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 ];
};
}