2019-06-10 09:49:36 +01:00
|
|
|
{ lib, fetchFromGitHub, buildPythonApplication, pyside, twisted, certifi }:
|
2017-12-12 08:59:33 +00:00
|
|
|
|
2019-06-10 09:49:36 +01:00
|
|
|
buildPythonApplication rec {
|
2017-12-12 08:59:33 +00:00
|
|
|
name = "syncplay-${version}";
|
2019-07-17 01:24:38 +01:00
|
|
|
version = "1.6.4";
|
2017-12-12 08:59:33 +00:00
|
|
|
|
|
|
|
format = "other";
|
|
|
|
|
2019-06-10 09:49:36 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Syncplay";
|
|
|
|
repo = "syncplay";
|
|
|
|
rev = "v${version}";
|
2019-07-17 01:24:38 +01:00
|
|
|
sha256 = "0afh2a0l1c3hwgj5q6wy0v5iimg8qcjam3pw7b8mf63lasx6iqk4";
|
2017-12-12 08:59:33 +00:00
|
|
|
};
|
|
|
|
|
2019-06-10 09:49:36 +01:00
|
|
|
propagatedBuildInputs = [ pyside twisted certifi ] ++ twisted.extras.tls;
|
2017-12-12 08:59:33 +00:00
|
|
|
|
2018-07-09 12:00:49 +01:00
|
|
|
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
|
2017-12-12 08:59:33 +00:00
|
|
|
|
2019-06-10 09:49:36 +01:00
|
|
|
meta = with lib; {
|
2018-06-27 21:12:57 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|