16 buildPythonPackage rec {
17 pname = "factory-boy";
19 format = "setuptools";
21 disabled = pythonOlder "3.7";
24 pname = "factory_boy";
26 hash = "sha256-vHbZfRplu9mEKm1yKIIJjrVJ7I7hCB+fsuj/KfDDAPE=";
30 substituteInPlace tests/test_version.py \
31 --replace '"3.2.1.dev0")' '"${version}")'
34 propagatedBuildInputs = [ faker ];
46 # Checks for MongoDB requires an a running DB
47 disabledTests = [ "MongoEngineTestCase" ];
50 # incompatible with latest flask-sqlalchemy
51 "examples/flask_alchemy/test_demoapp.py"
54 pythonImportsCheck = [ "factory" ];
57 description = "Python package to create factories for complex objects";
58 homepage = "https://github.com/rbarrois/factory_boy";
59 changelog = "https://github.com/FactoryBoy/factory_boy/blob/${version}/docs/changelog.rst";
60 license = with licenses; [ mit ];
61 maintainers = with maintainers; [ fab ];