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; + }; }