1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

Merge pull request #109276 from fabaff/factory-boy

python3Packages.factory_boy: 3.1.0 -> 3.2.0
This commit is contained in:
Mario Rodas 2021-02-07 11:08:44 -05:00 committed by GitHub
commit df9c2bfe58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,30 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, django
, faker
, python
, ipaddress
, fetchPypi
, flask
, flask_sqlalchemy
, mongoengine
, pytestCheckHook
, sqlalchemy
}:
buildPythonPackage rec {
pname = "factory_boy";
version = "3.1.0";
version = "3.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "ded73e49135c24bd4d3f45bf1eb168f8d290090f5cf4566b8df3698317dc9c08";
sha256 = "0nsw2mdjk8sqds3qsix4cf19ws6i0fak79349pw2581ryc7w0720";
};
propagatedBuildInputs = [ faker ] ++ lib.optionals isPy27 [ ipaddress ];
propagatedBuildInputs = [ faker ];
# tests not included with pypi release
doCheck = false;
checkInputs = [
django
flask
flask_sqlalchemy
mongoengine
pytestCheckHook
sqlalchemy
];
# Checks for MongoDB requires an a running DB
disabledTests = [ "MongoEngineTestCase" ];
pythonImportsCheck = [ "factory" ];
meta = with lib; {
description = "A Python package to create factories for complex objects";
homepage = "https://github.com/rbarrois/factory_boy";
license = licenses.mit;
description = "Python package to create factories for complex objects";
homepage = "https://github.com/rbarrois/factory_boy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}