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

33 lines
843 B
Nix
Raw Normal View History

2019-12-19 21:52:32 +01:00
{ lib, fetchFromGitHub, buildPythonApplication, pyside2, shiboken2, twisted, certifi, qt5 }:
2017-12-12 09:59:33 +01:00
buildPythonApplication rec {
pname = "syncplay";
2020-12-16 06:49:14 +01:00
version = "1.6.7";
2017-12-12 09:59:33 +01:00
format = "other";
src = fetchFromGitHub {
owner = "Syncplay";
repo = "syncplay";
rev = "v${version}";
2020-12-16 06:49:14 +01:00
sha256 = "1hxmd13sff51lh9l3vpk33qrzf7gi58c76bc01iqimp17sxwfz3k";
2017-12-12 09:59:33 +01:00
};
propagatedBuildInputs = [ pyside2 shiboken2 twisted certifi ] ++ twisted.extras.tls;
2019-12-19 21:52:32 +01:00
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
2017-12-12 09:59:33 +01:00
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
2017-12-12 09:59:33 +01:00
2019-12-19 21:52:32 +01:00
postFixup = ''
wrapQtApp $out/bin/syncplay
'';
meta = with lib; {
homepage = "https://syncplay.pl/";
2017-12-12 09:59:33 +01:00
description = "Free software that synchronises media players";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ enzime ];
};
}