depot/third_party/nixpkgs/pkgs/development/python-modules/hyperpyyaml/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

39 lines
864 B
Nix

{ 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 ];
};
}