31 lines
841 B
Nix
31 lines
841 B
Nix
{ stdenv, fetchurl, python2Packages }:
|
|
|
|
python2Packages.buildPythonApplication rec {
|
|
name = "syncplay-${version}";
|
|
version = "1.5.0";
|
|
|
|
format = "other";
|
|
|
|
src = fetchurl {
|
|
url = https://github.com/Syncplay/syncplay/archive/v1.5.0.tar.gz;
|
|
sha256 = "762e6318588e14aa02b1340baa18510e7de87771c62ca5b44d985b6d1289964d";
|
|
};
|
|
|
|
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 = http://syncplay.pl/;
|
|
description = "Free software that synchronises media players";
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ enzime ];
|
|
};
|
|
}
|