1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "coqpit"; 9 version = "0.0.16"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "coqui-ai"; 14 repo = pname; 15 rev = "refs/tags/v${version}"; 16 sha256 = "sha256-f1FLjR4VzSOA/VaeseVA4F1NWVJIvokIZIDW1k7fNqU="; 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}