mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
python3Packages.primepy: init at 1.3
This commit is contained in:
parent
ac8f48df38
commit
acfe7eeb33
32
pkgs/development/python-modules/primepy/default.nix
Normal file
32
pkgs/development/python-modules/primepy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user