biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pytest-voluptuous / default.nix
blobdd5f6afd24112589276a4a8654ac8d094996b29b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytest,
6   pytestCheckHook,
7   pythonOlder,
8   six,
9   voluptuous,
12 buildPythonPackage rec {
13   pname = "pytest-voluptuous";
14   version = "1.2.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "F-Secure";
21     repo = "pytest-voluptuous";
22     rev = "refs/tags/${version}";
23     hash = "sha256-xdj4qCSSJQI9Rb1WyUYrAg1I5wQ5o6IJyIjJAafP/LY=";
24   };
26   buildInputs = [ pytest ];
28   propagatedBuildInputs = [ voluptuous ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     six
33   ];
35   pythonImportsCheck = [ "pytest_voluptuous" ];
37   pytestFlagsArray = [ "tests/test_plugin.py" ];
39   meta = with lib; {
40     description = "Pytest plugin for asserting data against voluptuous schema";
41     homepage = "https://github.com/F-Secure/pytest-voluptuous";
42     changelog = "https://github.com/F-Secure/pytest-voluptuous/blob/${version}/CHANGELOG.rst";
43     license = licenses.asl20;
44     maintainers = with maintainers; [ fab ];
45   };