blob: 150530dbf48f4dd6831af5106a18e7ecb06f09e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest,
pytestCheckHook,
setuptools-scm,
setuptools,
six,
voluptuous,
}:
buildPythonPackage rec {
pname = "pytest-voluptuous";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "F-Secure";
repo = "pytest-voluptuous";
tag = version;
hash = "sha256-xdj4qCSSJQI9Rb1WyUYrAg1I5wQ5o6IJyIjJAafP/LY=";
};
build-system = [
setuptools
setuptools-scm
];
buildInputs = [ pytest ];
dependencies = [ voluptuous ];
nativeCheckInputs = [
pytestCheckHook
six
];
pythonImportsCheck = [ "pytest_voluptuous" ];
enabledTestPaths = [ "tests/test_plugin.py" ];
meta = {
description = "Pytest plugin for asserting data against voluptuous schema";
homepage = "https://github.com/F-Secure/pytest-voluptuous";
changelog = "https://github.com/F-Secure/pytest-voluptuous/blob/${version}/CHANGELOG.rst";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|