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