blob: a4c0192a25a9410c6ab76a507a0d6645e537215c (
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 = "cfgv";
version = "3.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "asottile";
repo = "cfgv";
tag = "v${version}";
hash = "sha256-ccCalTNVEHvh1gKhQgceD/yAScIEQy3ZKqndoWs7FQQ=";
};
build-system = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "cfgv" ];
meta = {
description = "Validate configuration and produce human readable error messages";
homepage = "https://github.com/asottile/cfgv";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nickcao ];
};
}
|