Merge pull request #160550 from dotlambda/python-songpal-0.14

python3Packages.python-songpal: 0.13 -> 0.14
This commit is contained in:
Fabian Affolter 2022-02-18 10:38:28 +01:00 committed by GitHub
commit 3dff038ace
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
];