2021-05-19 13:14:21 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "coqpit";
|
2021-06-23 12:26:01 +00:00
|
|
|
version = "0.0.10";
|
2021-05-19 13:14:21 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coqui-ai";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-06-23 12:26:01 +00:00
|
|
|
sha256 = "1gcj5sffcmlvhhk6wbvmxppjpckb90q1avc07jbnb1vvrb2h9lr0";
|
2021-05-19 13:14:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"coqpit"
|
|
|
|
"coqpit.coqpit"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple but maybe too simple config management through python data classes";
|
|
|
|
longDescription = ''
|
|
|
|
Simple, light-weight and no dependency config handling through python data classes with to/from JSON serialization/deserialization.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/coqui-ai/coqpit";
|
|
|
|
license = licenses.mit;
|
2021-06-04 12:38:01 +00:00
|
|
|
maintainers = teams.tts.members;
|
2021-05-19 13:14:21 +00:00
|
|
|
};
|
|
|
|
}
|