15eaeeb493
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-factory_boy/versions
33 lines
625 B
Nix
33 lines
625 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, faker
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "factory_boy";
|
|
version = "2.12.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0w53hjgag6ad5i2vmrys8ysk54agsqvgbjy9lg8g0d8pi9h8vx7s";
|
|
};
|
|
|
|
propagatedBuildInputs = [ faker ];
|
|
|
|
# tests not included with pypi release
|
|
doCheck = false;
|
|
|
|
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;
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|