python3Packages.primecountpy: init at 0.1.0
This commit is contained in:
parent
1117dbbcf9
commit
384e0b477f
33
pkgs/development/python-modules/primecountpy/default.nix
Normal file
33
pkgs/development/python-modules/primecountpy/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, primecount
|
||||
, cython
|
||||
, cysignals
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "primecountpy";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "78fe7cc32115f0669a45d7c90faaf39f7ce3939e39e2e7e5f14c17fe4bff0676";
|
||||
};
|
||||
|
||||
buildInputs = [ primecount ];
|
||||
|
||||
propagatedBuildInputs = [ cython cysignals ];
|
||||
|
||||
# depends on pytest-cython for "pytest --doctest-cython"
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "primecountpy" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cython interface for C++ primecount library";
|
||||
homepage = "https://github.com/dimpase/primecountpy/";
|
||||
maintainers = teams.sage.members;
|
||||
license = licenses.gpl3Only;
|
||||
};
|
||||
}
|
|
@ -6285,6 +6285,8 @@ in {
|
|||
|
||||
prettytable = callPackage ../development/python-modules/prettytable { };
|
||||
|
||||
primecountpy = callPackage ../development/python-modules/primecountpy { };
|
||||
|
||||
primer3 = callPackage ../development/python-modules/primer3 { };
|
||||
|
||||
priority = callPackage ../development/python-modules/priority { };
|
||||
|
|
Loading…
Reference in a new issue