python3Packages.coqpit: init at 0.0.6.6
This commit is contained in:
37
pkgs/development/python-modules/coqpit/default.nix
Normal file
37
pkgs/development/python-modules/coqpit/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "coqpit";
|
||||
version = "0.0.6.6";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coqui-ai";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0wb5wf84i5h4ycm732kn4316v7schhm91s2rrklfw9sny5dqmdnh";
|
||||
};
|
||||
|
||||
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 = with maintainers; [ hexa mic92 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user