Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytest-relaxed / default.nix
blob84f7edb2b6e40e9aba90220aecd4bc7490d9fe90
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.1";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-U6c3Lj/qpSdAm7QDU/gTxZt2Dl2L1H5vb88YfF2W3Qw=";
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   };