blob: 0550cd81428bf853124184642a440604b1dcaa36 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "voluptuous";
version = "0.15.2";
pyproject = true;
src = fetchFromGitHub {
owner = "alecthomas";
repo = "voluptuous";
tag = version;
hash = "sha256-TGTdYme3ZRM51YFNX/ESFc6+3QpeO/gAXYW6MT73/Ss=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "voluptuous" ];
enabledTestPaths = [ "voluptuous/tests/" ];
meta = {
description = "Python data validation library";
downloadPage = "https://github.com/alecthomas/voluptuous";
homepage = "http://alecthomas.github.io/voluptuous/";
changelog = "https://github.com/alecthomas/voluptuous/blob/${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
|