1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "coqpit";
9 version = "0.0.14";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "coqui-ai";
14 repo = pname;
15 rev = "v${version}";
16 sha256 = "041sx7ph8vfx8ivvm6hjj6s83p9lni2agwyrrncqwhcbjy9pbdf1";
17 };
18
19 checkInputs = [
20 pytestCheckHook
21 ];
22
23 pythonImportsCheck = [
24 "coqpit"
25 "coqpit.coqpit"
26 ];
27
28 meta = with lib; {
29 description = "Simple but maybe too simple config management through python data classes";
30 longDescription = ''
31 Simple, light-weight and no dependency config handling through python data classes with to/from JSON serialization/deserialization.
32 '';
33 homepage = "https://github.com/coqui-ai/coqpit";
34 license = licenses.mit;
35 maintainers = teams.tts.members;
36 };
37}