syncserver: move to python-modules

This commit is contained in:
Nadrieril 2017-12-05 22:32:14 +00:00 committed by Frederik Rietdijk
parent 0c139e2186
commit 5b2484ab86
2 changed files with 41 additions and 23 deletions

View File

@ -0,0 +1,39 @@
{ stdenv
, buildPythonPackage
, fetchgit
, isPy27
, unittest2
, cornice
, gunicorn
, pyramid
, requests
, simplejson
, sqlalchemy
, mozsvc
, tokenserver
, serversyncstorage
, configparser
}:
buildPythonPackage rec {
name = "syncserver-${version}";
version = "1.6.0";
disabled = ! isPy27;
src = fetchgit {
url = https://github.com/mozilla-services/syncserver.git;
rev = "refs/tags/${version}";
sha256 = "1fsiwihgq3z5b5kmssxxil5g2abfvsf6wfikzyvi4sy8hnym77mb";
};
buildInputs = [ unittest2 ];
propagatedBuildInputs = [
cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver
serversyncstorage configparser
];
meta = {
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -370,6 +370,8 @@ in {
supervise_api = callPackage ../development/python-modules/supervise_api { };
syncserver = callPackage ../development/python-modules/syncserver {};
tables = callPackage ../development/python-modules/tables {
hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; };
};
@ -20113,29 +20115,6 @@ EOF
};
};
syncserver = buildPythonPackage rec {
name = "syncserver-${version}";
version = "1.6.0";
disabled = ! isPy27;
src = pkgs.fetchgit {
url = https://github.com/mozilla-services/syncserver.git;
rev = "refs/tags/${version}";
sha256 = "1fsiwihgq3z5b5kmssxxil5g2abfvsf6wfikzyvi4sy8hnym77mb";
};
buildInputs = with self; [ unittest2 ];
propagatedBuildInputs = with self; [
cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver
serversyncstorage configparser
];
meta = {
maintainers = [ ];
platforms = platforms.all;
};
};
serversyncstorage = buildPythonPackage rec {
name = "serversyncstorage-${version}";
version = "1.6.11";