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:
parent
0032a648ec
commit
4f8902a712
1 changed files with 11 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue