syncserver: move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
0c139e2186
commit
5b2484ab86
39
pkgs/development/python-modules/syncserver/default.nix
Normal file
39
pkgs/development/python-modules/syncserver/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user