depot/third_party/nixpkgs/pkgs/development/python-modules/primepy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
674 B
Nix

{
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 ];
};
}