depot/third_party/nixpkgs/pkgs/development/python-modules/hyperpyyaml/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

39 lines
864 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyyaml
, ruamel-yaml
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "hyperpyyaml";
version = "1.2.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "speechbrain";
repo = "hyperpyyaml";
rev = "refs/tags/v${version}";
hash = "sha256-eA4/wXmqlqomfRbJNi7dkBRoxneCbCbURSPvASF2sgA=";
};
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 ];
};
}