Files
nixpkgs/pkgs/development/python-modules/faker/default.nix
Martin Weinelt ea23ffb298 python3Packages.faker: 37.3.0 -> 37.5.3
This commit was automatically generated using update-python-libraries.
2025-08-09 18:59:21 +02:00

54 lines
1009 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
freezegun,
pillow,
pytestCheckHook,
python-dateutil,
setuptools,
typing-extensions,
tzdata,
ukpostcodeparser,
validators,
}:
buildPythonPackage rec {
pname = "faker";
version = "37.5.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-gxXY/01vT1iL1C/+Y6vVmYhseFBz4mpEcH4Q7rpXE9w=";
};
build-system = [ setuptools ];
dependencies = [
python-dateutil
typing-extensions
tzdata
];
nativeCheckInputs = [
freezegun
pillow
pytestCheckHook
ukpostcodeparser
validators
];
# avoid tests which import random2, an abandoned library
disabledTestPaths = [ "tests/providers/test_ssn.py" ];
pythonImportsCheck = [ "faker" ];
meta = with lib; {
description = "Python library for generating fake user data";
mainProgram = "faker";
homepage = "http://faker.rtfd.org";
license = licenses.mit;
maintainers = with maintainers; [ lovek323 ];
};
}