35121b1973
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/syncplay/versions. These checks were done: - built on NixOS - ran ‘/nix/store/dfjzzxr9ih0cpmz3ls5xcmfaf2qrhmhh-syncplay-1.5.3/bin/.syncplay-server-wrapped -h’ got 0 exit code - ran ‘/nix/store/dfjzzxr9ih0cpmz3ls5xcmfaf2qrhmhh-syncplay-1.5.3/bin/.syncplay-server-wrapped --help’ got 0 exit code - ran ‘/nix/store/dfjzzxr9ih0cpmz3ls5xcmfaf2qrhmhh-syncplay-1.5.3/bin/syncplay-server -h’ got 0 exit code - ran ‘/nix/store/dfjzzxr9ih0cpmz3ls5xcmfaf2qrhmhh-syncplay-1.5.3/bin/syncplay-server --help’ got 0 exit code - found 1.5.3 with grep in /nix/store/dfjzzxr9ih0cpmz3ls5xcmfaf2qrhmhh-syncplay-1.5.3 - directory tree listing: https://gist.github.com/52097c8cbb187c4fb391af784f94d056
31 lines
829 B
Nix
31 lines
829 B
Nix
{ 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 = http://syncplay.pl/;
|
|
description = "Free software that synchronises media players";
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ enzime ];
|
|
};
|
|
}
|