13 buildPythonPackage rec {
14 pname = "fastnumbers";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
21 owner = "SethMMorton";
23 rev = "refs/tags/${version}";
24 hash = "sha256-TC9+xOvskABpChlrSJcHy6O7D7EnIKL6Ekt/vaLBX2E=";
31 propagatedBuildInputs = [
35 # Tests fail due to numeric precision differences on ARM
36 # See https://github.com/SethMMorton/fastnumbers/issues/28
37 doCheck = !stdenv.hostPlatform.isAarch;
46 "--hypothesis-profile=standard"
49 pythonImportsCheck = [
54 description = "Python module for number conversion";
55 homepage = "https://github.com/SethMMorton/fastnumbers";
56 changelog = "https://github.com/SethMMorton/fastnumbers/blob/${version}/CHANGELOG.md";
57 license = licenses.mit;
58 maintainers = with maintainers; [ fab ];