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
|
{ 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
|
||||||
|
|
Loading…
Reference in a new issue