diff options
author | Nikolay Amiantov <ab@fmap.me> | 2019-06-10 11:49:36 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2019-06-10 12:23:16 +0300 |
commit | eff932e22b090860613dc68fef6fffeeae041757 (patch) | |
tree | c79bb542edaf6f2815ab5a2508a9dd4d40c7dcc8 /pkgs/applications/networking/syncplay | |
parent | 338a6e3f388fea6f2e9321fda0280a749734643a (diff) |
syncplay: add TLS support
Also cleanup.
Diffstat (limited to 'pkgs/applications/networking/syncplay')
-rw-r--r-- | pkgs/applications/networking/syncplay/default.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/applications/networking/syncplay/default.nix b/pkgs/applications/networking/syncplay/default.nix index 4f4eaf302455..c8610d80ca78 100644 --- a/pkgs/applications/networking/syncplay/default.nix +++ b/pkgs/applications/networking/syncplay/default.nix @@ -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; |