linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pytest-factoryboy / default.nix
blob39d6bc127e6b216b57fa48af6f71eaf8a05841a7
1 { lib
2 , buildPythonPackage
3 , factory_boy
4 , fetchFromGitHub
5 , inflection
6 , mock
7 , pytest
8 , pytestcache
9 , pytestCheckHook
10 , pytestcov
13 buildPythonPackage rec {
14   pname = "pytest-factoryboy";
15   version = "2.1.0";
17   src = fetchFromGitHub {
18     owner = "pytest-dev";
19     repo = "pytest-factoryboy";
20     rev = version;
21     sha256 = "0v6b4ly0p8nknpnp3f4dbslfsifzzjx2vv27rfylx04kzdhg4m9p";
22   };
24   buildInputs = [ pytest ];
26   propagatedBuildInputs = [
27     factory_boy
28     inflection
29   ];
31   checkInputs = [
32     mock
33     pytestCheckHook
34     pytestcache
35     pytestcov
36   ];
38   pytestFlagsArray = [ "--ignore=docs" ];
39   pythonImportsCheck = [ "pytest_factoryboy" ];
41   meta = with lib; {
42     description = "Integration of factory_boy into the pytest runner";
43     homepage = "https://pytest-factoryboy.readthedocs.io/en/latest/";
44     maintainers = with maintainers; [ winpat ];
45     license = licenses.mit;
46   };