nixpkgs/pkgs/development/libraries/science/math/primesieve/default.nix

22 lines
547 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake }:
2019-02-04 12:03:50 +00:00
stdenv.mkDerivation rec {
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
};
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 ];
};
}