From c1a071dd49a8e00820bc687231fdab80b7333bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TG=20=E2=8A=97=20=CE=98?= <*@tg-x.net> Date: Tue, 25 Dec 2018 18:51:16 +0100 Subject: [PATCH] pythonPackages.syncserver: 1.6.0 -> 1.8.0 --- .../python-modules/syncserver/default.nix | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/syncserver/default.nix b/pkgs/development/python-modules/syncserver/default.nix index 7a93d64a89f..7320a00a557 100644 --- a/pkgs/development/python-modules/syncserver/default.nix +++ b/pkgs/development/python-modules/syncserver/default.nix @@ -1,5 +1,6 @@ -{ buildPythonPackage -, fetchgit +{ stdenv +, buildPythonPackage +, fetchFromGitHub , isPy27 , unittest2 , cornice @@ -16,13 +17,14 @@ buildPythonPackage rec { pname = "syncserver"; - version = "1.6.0"; + version = "1.8.0"; disabled = ! isPy27; - src = fetchgit { - url = https://github.com/mozilla-services/syncserver.git; - rev = "refs/tags/${version}"; - sha256 = "1fsiwihgq3z5b5kmssxxil5g2abfvsf6wfikzyvi4sy8hnym77mb"; + src = fetchFromGitHub { + owner = "mozilla-services"; + repo = "syncserver"; + rev = version; + sha256 = "0hxjns9hz7a8r87iqr1yfvny4vwj1rlhwcf8bh7j6lsf92mkmgy8"; }; buildInputs = [ unittest2 ]; @@ -30,4 +32,11 @@ buildPythonPackage rec { cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver serversyncstorage configparser ]; + + meta = with stdenv.lib; { + description = "Run-Your-Own Firefox Sync Server"; + homepage = "https://github.com/mozilla-services/syncserver"; + platforms = platforms.unix; + license = licenses.mpl20; + }; }