python310Packages.hyperpyyaml: 1.2.1 -> 1.2.2

This commit is contained in:
Gaetan Lepage 2023-09-22 14:01:38 +02:00
parent 59cffc64b6
commit 9627a55771

View file

@ -1,7 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pyyaml , pyyaml
, ruamel-yaml , ruamel-yaml
, pytestCheckHook , pytestCheckHook
@ -9,25 +8,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "hyperpyyaml"; pname = "hyperpyyaml";
version = "1.2.1"; version = "1.2.2";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "speechbrain"; owner = "speechbrain";
repo = "hyperpyyaml"; repo = "hyperpyyaml";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-tC4kLJAY9MVgjWwU2Qu0rPCVDw7CjKVIciRZgYhnR9I="; hash = "sha256-eA4/wXmqlqomfRbJNi7dkBRoxneCbCbURSPvASF2sgA=";
}; };
patches = [
# This patch is needed to comply with the newer versions of ruamel.yaml.
# PR to upstream this change: https://github.com/speechbrain/HyperPyYAML/pull/23
(fetchpatch {
url = "https://github.com/speechbrain/HyperPyYAML/commit/95c6133686c42764770a77429eab55f6dfe5581c.patch";
hash = "sha256-WrHDo17f5pYNXSSqI8t1tlAloYms9oLFup7D2qCKwWw=";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
pyyaml pyyaml
ruamel-yaml ruamel-yaml