My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/applications/networking/syncplay/default.nix

33 lines
842 B

{ lib, fetchFromGitHub, buildPythonApplication, pyside2, shiboken2, twisted, certifi, qt5 }:
buildPythonApplication rec {
pname = "syncplay";
version = "1.6.4a";
format = "other";
src = fetchFromGitHub {
owner = "Syncplay";
repo = "syncplay";
rev = "v${version}";
sha256 = "0zz4a3vzfg808z1qkqz31z4818wzpfa2lika7wl0jgpmw4zi85ix";
};
propagatedBuildInputs = [ pyside2 shiboken2 twisted certifi ] ++ twisted.extras.tls;
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
postFixup = ''
wrapQtApp $out/bin/syncplay
'';
meta = with lib; {
homepage = https://syncplay.pl/;
description = "Free software that synchronises media players";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ enzime ];
};
}