python3Packages.hyperpyyaml: init at 1.2.1

This commit is contained in:
Gaetan Lepage 2023-07-13 16:40:31 +02:00
parent 2316adf1c6
commit fdce5ed26b
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, pytestCheckHook
, pyyaml
, ruamel-yaml
}:
buildPythonPackage rec {
pname = "hyperpyyaml";
version = "1.2.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "speechbrain";
repo = "hyperpyyaml";
rev = "refs/tags/v${version}";
hash = "sha256-tC4kLJAY9MVgjWwU2Qu0rPCVDw7CjKVIciRZgYhnR9I=";
};
propagatedBuildInputs = [
pyyaml
ruamel-yaml
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "hyperpyyaml" ];
meta = with lib; {
description = "Extensions to YAML syntax for better python interaction";
homepage = "https://github.com/speechbrain/HyperPyYAML";
changelog = "https://github.com/speechbrain/HyperPyYAML/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ GaetanLepage ];
};
}

View File

@ -4859,6 +4859,8 @@ self: super: with self; {
hyperopt = callPackage ../development/python-modules/hyperopt { };
hyperpyyaml = callPackage ../development/python-modules/hyperpyyaml { };
hypothesis-auto = callPackage ../development/python-modules/hypothesis-auto { };
hypothesis = callPackage ../development/python-modules/hypothesis { };