2017-12-12 08:59:33 +00:00
|
|
|
{ stdenv, fetchurl, python2Packages }:
|
|
|
|
|
|
|
|
python2Packages.buildPythonApplication rec {
|
|
|
|
name = "syncplay-${version}";
|
2018-04-11 16:25:10 +01:00
|
|
|
version = "1.5.3";
|
2017-12-12 08:59:33 +00:00
|
|
|
|
|
|
|
format = "other";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-04-11 16:25:10 +01:00
|
|
|
url = https://github.com/Syncplay/syncplay/archive/v1.5.3.tar.gz;
|
|
|
|
sha256 = "1yk0aajskhk6czpjshf9a9pzp3rafh5cgdcyyz8pwpk4ca9zyzfv";
|
2017-12-12 08:59:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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; {
|
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 ];
|
|
|
|
};
|
|
|
|
}
|