python3Packages.primepy: init at 1.3

This commit is contained in:
matthewcroughan 2024-02-09 21:53:28 +00:00 committed by Emery Hemingway
parent ac8f48df38
commit acfe7eeb33
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ 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 = with lib; {
description = "This module contains several useful functions to work with prime numbers. from primePy import primes";
homepage = "https://pypi.org/project/primePy/";
license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ];
};
}

View File

@ -9921,6 +9921,8 @@ self: super: with self; {
primecountpy = callPackage ../development/python-modules/primecountpy { };
primepy = callPackage ../development/python-modules/primepy { };
primer3 = callPackage ../development/python-modules/primer3 { };
priority = callPackage ../development/python-modules/priority { };