nixpkgs/pkgs/applications/networking/syncplay/default.nix

33 lines
843 B
Nix
Raw Normal View History

2019-12-19 20:52:32 +00:00
{ lib, fetchFromGitHub, buildPythonApplication, pyside2, shiboken2, twisted, certifi, qt5 }:
2017-12-12 08:59:33 +00:00
buildPythonApplication rec {
pname = "syncplay";
2021-08-23 04:46:57 +00:00
version = "1.6.9";
2017-12-12 08:59:33 +00:00
format = "other";
src = fetchFromGitHub {
owner = "Syncplay";
repo = "syncplay";
rev = "v${version}";
2021-08-23 04:46:57 +00:00
sha256 = "0qm3qn4a1nahhs7q81liz514n9blsi107g9s9xfw2i8pzi7v9v0v";
2017-12-12 08:59:33 +00:00
};
propagatedBuildInputs = [ pyside2 shiboken2 twisted certifi ] ++ twisted.extras.tls;
2019-12-19 20:52:32 +00:00
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
2017-12-12 08:59:33 +00:00
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
2017-12-12 08:59:33 +00:00
2019-12-19 20:52:32 +00:00
postFixup = ''
wrapQtApp $out/bin/syncplay
'';
meta = with lib; {
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;
2021-12-18 14:59:15 +00:00
maintainers = with maintainers; [ Enzime ];
2017-12-12 08:59:33 +00:00
};
}