mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
38 lines
848 B
Nix
38 lines
848 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "coqpit";
|
|
version = "0.0.14";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "coqui-ai";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "041sx7ph8vfx8ivvm6hjj6s83p9lni2agwyrrncqwhcbjy9pbdf1";
|
|
};
|
|
|
|
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;
|
|
maintainers = teams.tts.members;
|
|
};
|
|
}
|