connman-gtk: fix FTBFS with GCC-14 (incompatible pointer types) (#376077)
[NixPkgs.git] / pkgs / development / python-modules / pytest-factoryboy / default.nix
blob5b10967a0b00bcc89973f52bed29571d8bc8da4d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   poetry-core,
9   # unpropagated
10   pytest,
12   # propagated
13   inflection,
14   factory-boy,
15   typing-extensions,
17   # tests
18   pytestCheckHook,
21 buildPythonPackage rec {
22   pname = "pytest-factoryboy";
23   version = "2.6.1";
24   format = "pyproject";
26   src = fetchFromGitHub {
27     owner = "pytest-dev";
28     repo = "pytest-factoryboy";
29     rev = version;
30     sha256 = "sha256-GYqYwtbmMWVqImVPPBbZNRJJGcbksUPsIbi6QuPRMco=";
31   };
33   nativeBuildInputs = [ poetry-core ];
35   buildInputs = [ pytest ];
37   propagatedBuildInputs = [
38     factory-boy
39     inflection
40     typing-extensions
41   ];
43   pythonImportsCheck = [ "pytest_factoryboy" ];
45   nativeCheckInputs = [ pytestCheckHook ];
47   pytestFlagsArray = [ "--ignore=docs" ];
49   meta = with lib; {
50     description = "Integration of factory_boy into the pytest runner";
51     homepage = "https://pytest-factoryboy.readthedocs.io/en/latest/";
52     maintainers = with maintainers; [ winpat ];
53     license = licenses.mit;
54   };