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