python3Packages.python-songpal: 0.13 -> 0.14

https://github.com/rytilahti/python-songpal/releases/tag/0.14
This commit is contained in:
Robert Schütz 2022-02-18 03:19:44 +00:00
parent aa278c508d
commit 9d067580d3

View File

@ -2,7 +2,6 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, fetchpatch
, poetry-core
, aiohttp
, async-upnp-client
@ -13,7 +12,7 @@
buildPythonPackage rec {
pname = "python-songpal";
version = "0.13";
version = "0.14";
format = "pyproject";
@ -23,24 +22,9 @@ buildPythonPackage rec {
owner = "rytilahti";
repo = "python-songpal";
rev = version;
sha256 = "124w6vfn992845k09bjv352havk8pg590b135m37h1x1m7fmbpwa";
hash = "sha256-yuCtz1B5bj3mWz4eP2GXzoaHuIQ47tIWn19jkZN54lw=";
};
patches = [
# https://github.com/rytilahti/python-songpal/pull/90
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/rytilahti/python-songpal/commit/56b634790d94b2f9788d5af3d5cedff47f1e42c2.patch";
sha256 = "0yc0mrb91ywk77nd4mxvyc0p2kjz2w1p395755a32ls30zw2bs27";
})
];
postPatch = ''
# https://github.com/rytilahti/python-songpal/issues/91
substituteInPlace pyproject.toml \
--replace 'click = "^7"' 'click = "*"'
'';
nativeBuildInputs = [
poetry-core
];