syncplay: fix TypeError
on Linux
This commit is contained in:
parent
f91ee3065d
commit
0aa72aa8c2
|
@ -2,6 +2,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonApplication
|
, buildPythonApplication
|
||||||
|
, fetchpatch
|
||||||
, pyside6
|
, pyside6
|
||||||
, twisted
|
, twisted
|
||||||
, certifi
|
, certifi
|
||||||
|
@ -23,6 +24,14 @@ buildPythonApplication rec {
|
||||||
sha256 = "sha256-Te81yOv3D6M6aMfC5XrM6/I6BlMdlY1yRk1RRJa9Mxg=";
|
sha256 = "sha256-Te81yOv3D6M6aMfC5XrM6/I6BlMdlY1yRk1RRJa9Mxg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-typeerror.patch";
|
||||||
|
url = "https://github.com/Syncplay/syncplay/commit/b62b038cdf58c54205987dfc52ebf228505ad03b.patch";
|
||||||
|
hash = "sha256-pSP33Qn1I+nJBW8T1E1tSJKRh5OnZMRsbU+jr5z4u7c=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = lib.optionals enableGUI [ (if stdenv.isLinux then qt6.qtwayland else qt6.qtbase) ];
|
buildInputs = lib.optionals enableGUI [ (if stdenv.isLinux then qt6.qtwayland else qt6.qtbase) ];
|
||||||
propagatedBuildInputs = [ twisted certifi ]
|
propagatedBuildInputs = [ twisted certifi ]
|
||||||
++ twisted.optional-dependencies.tls
|
++ twisted.optional-dependencies.tls
|
||||||
|
|
Loading…
Reference in a new issue