Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-relaxed / default.nix
blob8a541c74e5f69bfd20d27774bad353cb1aebf32f
1 { lib
2 , buildPythonPackage
3 , decorator
4 , fetchPypi
5 , invocations
6 , invoke
7 , pytest
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "pytest-relaxed";
14   version = "2.0.2";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-lW6gKOww27+2gN2Oe0p/uPgKI5WV6Ius4Bi/LA1xgkg=";
22   };
24   buildInputs = [
25     pytest
26   ];
28   propagatedBuildInputs = [
29     decorator
30   ];
32   nativeCheckInputs = [
33     invocations
34     invoke
35     pytestCheckHook
36   ];
38   pytestFlagsArray = [
39     "tests"
40   ];
42   pythonImportsCheck = [
43     "pytest_relaxed"
44   ];
46   meta = with lib; {
47     homepage = "https://pytest-relaxed.readthedocs.io/";
48     description = "Relaxed test discovery/organization for pytest";
49     changelog = "https://github.com/bitprophet/pytest-relaxed/blob/${version}/docs/changelog.rst";
50     license = licenses.bsd0;
51     maintainers = with maintainers; [ ];
52   };