Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 864 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "coqpit"; 9 version = "0.0.6.6"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "coqui-ai"; 14 repo = pname; 15 rev = "v${version}"; 16 sha256 = "0wb5wf84i5h4ycm732kn4316v7schhm91s2rrklfw9sny5dqmdnh"; 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 = with maintainers; [ hexa mic92 ]; 36 }; 37}