1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

syncplay: add TLS support

Also cleanup.
This commit is contained in:
Nikolay Amiantov 2019-06-10 11:49:36 +03:00
parent 338a6e3f38
commit eff932e22b
2 changed files with 10 additions and 8 deletions

View file

@ -1,21 +1,23 @@
{ stdenv, fetchurl, python3Packages }:
{ lib, fetchFromGitHub, buildPythonApplication, pyside, twisted, certifi }:
python3Packages.buildPythonApplication rec {
buildPythonApplication rec {
name = "syncplay-${version}";
version = "1.6.3";
format = "other";
src = fetchurl {
url = https://github.com/Syncplay/syncplay/archive/v1.6.3.tar.gz;
sha256 = "151p1njlp3dp3pfr3l3m6ia5829zvjyjh4p45j6rgnicbh8sqrgs";
src = fetchFromGitHub {
owner = "Syncplay";
repo = "syncplay";
rev = "v${version}";
sha256 = "03xw44lxdk1h9kbvfviqzpmxxld6zvp07i0hvdm1chchyp0a109h";
};
propagatedBuildInputs = with python3Packages; [ pyside twisted ];
propagatedBuildInputs = [ pyside twisted certifi ] ++ twisted.extras.tls;
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://syncplay.pl/;
description = "Free software that synchronises media players";
license = licenses.asl20;

View file

@ -20281,7 +20281,7 @@ in
symlinks = callPackage ../tools/system/symlinks { };
syncplay = callPackage ../applications/networking/syncplay { };
syncplay = python3.pkgs.callPackage ../applications/networking/syncplay { };
inherit (callPackages ../applications/networking/syncthing { })
syncthing