python311Packages.mpris-server: 0.8.1 -> 0.4.2; revert python-updates

mpris-server version 0.8+ uses python 3.12 typing syntax downgrade to a
version which still supports python 3.11
This commit is contained in:
annalee 2024-01-13 05:34:18 +00:00
parent 0032a648ec
commit 4f8902a712
No known key found for this signature in database

View file

@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, pythonRelaxDepsHook
, fetchPypi
, emoji
, pydbus
@ -9,16 +10,19 @@
}:
buildPythonPackage rec {
pname = "mpris-server";
version = "0.8.1";
version = "0.4.2";
pyproject = true;
src = fetchPypi {
pname = "mpris_server";
inherit version;
hash = "sha256-dfnFX+u7PhQb4ScHIkRHnGVpCABZhhlw/R+ks63zcec=";
hash = "sha256-p3nM80fOMtRmeKvOXuX40Fu9xH8gPgYyneXbUS678fE=";
};
nativeBuildInputs = [ setuptools ];
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = [
emoji
@ -27,6 +31,10 @@ buildPythonPackage rec {
unidecode
];
pythonRelaxDeps = [
"emoji"
];
pythonImportsCheck = [ "mpris_server" ];
# upstream has no tests