summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/syncplay/default.nix
blob: c8610d80ca78e52227142830cd9ddf417b682ca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, fetchFromGitHub, buildPythonApplication, pyside, twisted, certifi }:

buildPythonApplication rec {
  name = "syncplay-${version}";
  version = "1.6.3";

  format = "other";

  src = fetchFromGitHub {
    owner = "Syncplay";
    repo = "syncplay";
    rev = "v${version}";
    sha256 = "03xw44lxdk1h9kbvfviqzpmxxld6zvp07i0hvdm1chchyp0a109h";
  };

  propagatedBuildInputs = [ pyside twisted certifi ] ++ twisted.extras.tls;

  makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];

  meta = with lib; {
    homepage = https://syncplay.pl/;
    description = "Free software that synchronises media players";
    license = licenses.asl20;
    platforms = platforms.linux;
    maintainers = with maintainers; [ enzime ];
  };
}