serversyncstorage: move to python-modules

This commit is contained in:
Nadrieril 2017-12-05 22:35:01 +00:00 committed by Frederik Rietdijk
parent 5b2484ab86
commit d1e2159638
2 changed files with 40 additions and 20 deletions

View File

@ -0,0 +1,38 @@
{ stdenv
, buildPythonPackage
, fetchgit
, isPy27
, testfixtures
, unittest2
, webtest
, pyramid
, sqlalchemy
, simplejson
, mozsvc
, cornice
, pyramid_hawkauth
, pymysql
, pymysqlsa
, umemcache
, WSGIProxy
, requests
, pybrowserid
}:
buildPythonPackage rec {
name = "serversyncstorage-${version}";
version = "1.6.11";
disabled = !isPy27;
src = fetchgit {
url = https://github.com/mozilla-services/server-syncstorage.git;
rev = "refs/tags/${version}";
sha256 = "197gj2jfs2c6nzs20j37kqxwi91wabavxnfm4rqmrjwhgqjwhnm0";
};
buildInputs = [ testfixtures unittest2 webtest ];
propagatedBuildInputs = [
pyramid sqlalchemy simplejson mozsvc cornice pyramid_hawkauth pymysql
pymysqlsa umemcache WSGIProxy requests pybrowserid
];
}

View File

@ -364,6 +364,8 @@ in {
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
serversyncstorage = callPackage ../development/python-modules/serversyncstorage {};
simpleeval = callPackage ../development/python-modules/simpleeval { };
sip = callPackage ../development/python-modules/sip { };
@ -20115,26 +20117,6 @@ EOF
};
};
serversyncstorage = buildPythonPackage rec {
name = "serversyncstorage-${version}";
version = "1.6.11";
disabled = !isPy27;
src = pkgs.fetchgit {
url = https://github.com/mozilla-services/server-syncstorage.git;
rev = "refs/tags/${version}";
sha256 = "197gj2jfs2c6nzs20j37kqxwi91wabavxnfm4rqmrjwhgqjwhnm0";
};
propagatedBuildInputs = with self; [
pyramid sqlalchemy simplejson mozsvc cornice pyramid_hawkauth pymysql
pymysqlsa umemcache WSGIProxy requests pybrowserid
];
buildInputs = with self; [ testfixtures unittest2 webtest ];
#doCheck = false; # lazy packager
};
WSGIProxy = buildPythonPackage rec {
name = "WSGIProxy-${version}";
version = "0.2.2";