python312Packages.coqpit: 0.0.17 -> 0.1.2 and switch to idiap fork
to unbreak build: original coqui-ai repo is not maintained anymore. https://www.idiap.ch/en/
This commit is contained in:
committed by
Jörg Thalheim
parent
f34762ee91
commit
68e6b9411e
@@ -4,22 +4,32 @@
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
pytestCheckHook,
|
||||
hatchling,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "coqpit";
|
||||
version = "0.0.17";
|
||||
format = "setuptools";
|
||||
pname = "coqpit-config";
|
||||
version = "0.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coqui-ai";
|
||||
repo = pname;
|
||||
owner = "idiap";
|
||||
repo = "coqui-ai-coqpit";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FY3PYd8dY5HFKkhD6kBzPt0k1eFugdqsO3yIN4oDk3E=";
|
||||
hash = "sha256-3LZxoj2aFTpezakBymogkNPCaEBBaaUmyIa742cSMgU=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"coqpit"
|
||||
"coqpit.coqpit"
|
||||
@@ -35,7 +45,7 @@ buildPythonPackage rec {
|
||||
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";
|
||||
homepage = "https://github.com/idiap/coqui-ai-coqpit";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.tts.members;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user