summary refs log tree commit diff
path: root/pkgs/applications/networking/syncplay/default.nix
blob: 029158caf4b5e0b328a6f60a4e7ba9e11ef6cf84 (plain) (blame)
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
28
29
30
{ stdenv, fetchurl, python2Packages }:

python2Packages.buildPythonApplication rec {
  name = "syncplay-${version}";
  version = "1.5.3";

  format = "other";

  src = fetchurl {
    url = https://github.com/Syncplay/syncplay/archive/v1.5.3.tar.gz;
    sha256 = "1yk0aajskhk6czpjshf9a9pzp3rafh5cgdcyyz8pwpk4ca9zyzfv";
  };

  propagatedBuildInputs = with python2Packages; [ pyside twisted ];

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

  postInstall = ''
    mkdir -p $out/lib/python2.7/site-packages
    mv $out/lib/syncplay/syncplay $out/lib/python2.7/site-packages/
  '';

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