1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 configobj,
6 pytestCheckHook,
7 pyyaml,
8 setuptools,
9 sphinx,
10}:
11
12buildPythonPackage rec {
13 pname = "everett";
14 version = "3.4.0";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "willkg";
19 repo = "everett";
20 tag = "v${version}";
21 hash = "sha256-olYxUbsKaL7C5UTAPwW+EufjbWbbHZdZcQ/lfogNJrg=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 configobj
28 pyyaml
29 ];
30
31 nativeCheckInputs = [
32 pytestCheckHook
33 sphinx
34 ];
35
36 pythonImportsCheck = [ "everett" ];
37
38 meta = {
39 description = "Python configuration library for your app";
40 homepage = "https://github.com/willkg/everett";
41 changelog = "https://github.com/willkg/everett/releases/tag/${version}";
42 license = lib.licenses.mpl20;
43 maintainers = with lib.maintainers; [ jherland ];
44 };
45}