1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 wheel,
7}:
8
9buildPythonPackage rec {
10 pname = "primepy";
11 version = "1.3";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "primePy";
16 inherit version;
17 hash = "sha256-Jf1+JTRLB4mlmEx12J8FT88fGAvvIMmY5L77rJLeRmk=";
18 };
19
20 nativeBuildInputs = [
21 setuptools
22 wheel
23 ];
24
25 pythonImportsCheck = [ "primePy" ];
26
27 meta = with lib; {
28 description = "This module contains several useful functions to work with prime numbers. from primePy import primes";
29 homepage = "https://pypi.org/project/primePy/";
30 license = licenses.mit;
31 maintainers = with maintainers; [ matthewcroughan ];
32 };
33}