15 buildPythonPackage rec {
16 pname = "factory-boy";
18 format = "setuptools";
20 disabled = pythonOlder "3.7";
23 pname = "factory_boy";
25 hash = "sha256-vHbZfRplu9mEKm1yKIIJjrVJ7I7hCB+fsuj/KfDDAPE=";
29 substituteInPlace tests/test_version.py \
30 --replace '"3.2.1.dev0")' '"${version}")'
33 propagatedBuildInputs = [
47 # Checks for MongoDB requires an a running DB
53 # incompatible with latest flask-sqlalchemy
54 "examples/flask_alchemy/test_demoapp.py"
57 pythonImportsCheck = [
62 description = "Python package to create factories for complex objects";
63 homepage = "https://github.com/rbarrois/factory_boy";
64 changelog = "https://github.com/FactoryBoy/factory_boy/blob/${version}/docs/changelog.rst";
65 license = with licenses; [ mit ];
66 maintainers = with maintainers; [ fab ];