pythonPackages.syncserver: 1.6.0 -> 1.8.0

This commit is contained in:
TG ⊗ Θ 2018-12-25 18:51:16 +01:00 committed by Nadrieril
parent 8119e08e34
commit c1a071dd49

View File

@ -1,5 +1,6 @@
{ buildPythonPackage { stdenv
, fetchgit , buildPythonPackage
, fetchFromGitHub
, isPy27 , isPy27
, unittest2 , unittest2
, cornice , cornice
@ -16,13 +17,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "syncserver"; pname = "syncserver";
version = "1.6.0"; version = "1.8.0";
disabled = ! isPy27; disabled = ! isPy27;
src = fetchgit { src = fetchFromGitHub {
url = https://github.com/mozilla-services/syncserver.git; owner = "mozilla-services";
rev = "refs/tags/${version}"; repo = "syncserver";
sha256 = "1fsiwihgq3z5b5kmssxxil5g2abfvsf6wfikzyvi4sy8hnym77mb"; rev = version;
sha256 = "0hxjns9hz7a8r87iqr1yfvny4vwj1rlhwcf8bh7j6lsf92mkmgy8";
}; };
buildInputs = [ unittest2 ]; buildInputs = [ unittest2 ];
@ -30,4 +32,11 @@ buildPythonPackage rec {
cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver
serversyncstorage configparser 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;
};
} }