pythonPackages.factory_boy: 2.6.1 -> 2.11.1

This commit is contained in:
Chris Ostrouchov 2018-11-29 08:33:54 -05:00 committed by Frederik Rietdijk
parent 3e69473974
commit d5111b119c

View File

@ -2,6 +2,8 @@
, buildPythonPackage
, fetchPypi
, fake_factory
, faker
, python
}:
buildPythonPackage rec {
@ -13,8 +15,13 @@ buildPythonPackage rec {
sha256 = "6f25cc4761ac109efd503f096e2ad99421b1159f01a29dbb917359dcd68e08ca";
};
checkInputs = [ faker ];
propagatedBuildInputs = [ fake_factory ];
checkPhase = ''
${python.interpreter} -m unittest
'';
meta = with stdenv.lib; {
description = "A Python package to create factories for complex objects";
homepage = https://github.com/rbarrois/factory_boy;