Files
nixpkgs/pkgs/development/python-modules/hyperpyyaml/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
854 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";
tag = "v${version}";
hash = "sha256-eA4/wXmqlqomfRbJNi7dkBRoxneCbCbURSPvASF2sgA=";
};
propagatedBuildInputs = [
pyyaml
ruamel-yaml
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hyperpyyaml" ];
meta = {
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 = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}