diff --git a/pkgs/development/python-modules/hyperpyyaml/default.nix b/pkgs/development/python-modules/hyperpyyaml/default.nix index c09d10e7dc7c..68c77bf378d7 100644 --- a/pkgs/development/python-modules/hyperpyyaml/default.nix +++ b/pkgs/development/python-modules/hyperpyyaml/default.nix @@ -2,24 +2,35 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system + setuptools, + + # dependencies pyyaml, ruamel-yaml, + + # tests pytestCheckHook, }: buildPythonPackage rec { pname = "hyperpyyaml"; - version = "1.2.2"; - format = "setuptools"; + version = "1.2.3"; + pyproject = true; src = fetchFromGitHub { owner = "speechbrain"; repo = "hyperpyyaml"; tag = "v${version}"; - hash = "sha256-eA4/wXmqlqomfRbJNi7dkBRoxneCbCbURSPvASF2sgA="; + hash = "sha256-/7OrIR61zQYl2+RjiOOlaqUGWBieon5fe8sgmEvKowo="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ pyyaml ruamel-yaml ]; @@ -31,7 +42,7 @@ buildPythonPackage rec { 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}"; + changelog = "https://github.com/speechbrain/HyperPyYAML/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; };