2019-12-19 21:52:32 +01:00
|
|
|
{ lib, fetchFromGitHub, buildPythonApplication, pyside2, shiboken2, twisted, certifi, qt5 }:
|
2017-12-12 09:59:33 +01:00
|
|
|
|
2019-06-10 10:49:36 +02:00
|
|
|
buildPythonApplication rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "syncplay";
|
2019-06-28 08:24:16 +02:00
|
|
|
version = "1.6.4a";
|
2017-12-12 09:59:33 +01:00
|
|
|
|
|
|
|
format = "other";
|
|
|
|
|
2019-06-10 10:49:36 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Syncplay";
|
|
|
|
repo = "syncplay";
|
|
|
|
rev = "v${version}";
|
2019-06-28 08:24:16 +02:00
|
|
|
sha256 = "0zz4a3vzfg808z1qkqz31z4818wzpfa2lika7wl0jgpmw4zi85ix";
|
2017-12-12 09:59:33 +01:00
|
|
|
};
|
|
|
|
|
2019-06-28 08:23:31 +02:00
|
|
|
propagatedBuildInputs = [ pyside2 shiboken2 twisted certifi ] ++ twisted.extras.tls;
|
2019-12-19 21:52:32 +01:00
|
|
|
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
2017-12-12 09:59:33 +01:00
|
|
|
|
2018-07-09 13:00:49 +02:00
|
|
|
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
|
2017-12-12 09:59:33 +01:00
|
|
|
|
2019-12-19 21:52:32 +01:00
|
|
|
postFixup = ''
|
|
|
|
wrapQtApp $out/bin/syncplay
|
|
|
|
'';
|
|
|
|
|
2019-06-10 10:49:36 +02:00
|
|
|
meta = with lib; {
|
2018-06-27 22:12:57 +02:00
|
|
|
homepage = https://syncplay.pl/;
|
2017-12-12 09:59:33 +01:00
|
|
|
description = "Free software that synchronises media players";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ enzime ];
|
|
|
|
};
|
|
|
|
}
|