python312Packages.pyaml-env: init at 1.2.1

This commit is contained in:
natsukium
2024-07-13 10:16:01 +09:00
parent a194071b8e
commit 362ec3fa31
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pyyaml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyaml-env";
version = "1.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mkaranasou";
repo = "pyaml_env";
rev = "refs/tags/v${version}";
hash = "sha256-xSu+dksSVugShJwOqedXBrXIKaH0G5JAsynauOuP3OA=";
};
build-system = [ setuptools ];
dependencies = [ pyyaml ];
pythonImportsCheck = [ "pyaml_env" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Parse YAML configuration with environment variables in Python";
homepage = "https://github.com/mkaranasou/pyaml_env";
changelog = "https://github.com/mkaranasou/pyaml_env/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ natsukium ];
};
}
+2
View File
@@ -10825,6 +10825,8 @@ self: super: with self; {
pyaml = callPackage ../development/python-modules/pyaml { };
pyaml-env = callPackage ../development/python-modules/pyaml-env { };
pyannotate = callPackage ../development/python-modules/pyannotate { };
pyannote-audio = callPackage ../development/python-modules/pyannote-audio { };