python3Packages.fastnumbers: init at 3.2.1
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fastnumbers
|
||||
, fetchFromGitHub
|
||||
, hypothesis
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fastnumbers";
|
||||
version = "3.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SethMMorton";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1v9l5p90y6ygrs0qmgdzxfv2vp1mpfp65snkl9jp6kcy44g3alhp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fastnumbers"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for number conversion";
|
||||
homepage = "https://github.com/SethMMorton/fastnumbers";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -2640,6 +2640,8 @@ in {
|
||||
inherit python;
|
||||
});
|
||||
|
||||
fastnumbers = callPackage ../development/python-modules/fastnumbers { };
|
||||
|
||||
fastpair = callPackage ../development/python-modules/fastpair { };
|
||||
|
||||
fastparquet = callPackage ../development/python-modules/fastparquet { };
|
||||
|
||||
Reference in New Issue
Block a user