pythonPackages.syncserver: move to all-packages.nix and fix dependencies

This commit is contained in:
Nadrieril
2019-01-28 18:11:32 +01:00
parent 08aa3e7f2e
commit 957d0589ad
5 changed files with 56 additions and 47 deletions

View File

@@ -1,42 +0,0 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, isPy27
, unittest2
, cornice
, gunicorn
, pyramid
, requests
, simplejson
, sqlalchemy
, mozsvc
, tokenserver
, serversyncstorage
, configparser
}:
buildPythonPackage rec {
pname = "syncserver";
version = "1.8.0";
disabled = ! isPy27;
src = fetchFromGitHub {
owner = "mozilla-services";
repo = "syncserver";
rev = version;
sha256 = "0hxjns9hz7a8r87iqr1yfvny4vwj1rlhwcf8bh7j6lsf92mkmgy8";
};
buildInputs = [ unittest2 ];
propagatedBuildInputs = [
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;
};
}