mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
39 lines
761 B
Nix
39 lines
761 B
Nix
{ 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
|
|
];
|
|
}
|