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