ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
42 lines
800 B
Nix
42 lines
800 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchgit
|
|
, isPy27
|
|
, testfixtures
|
|
, unittest2
|
|
, webtest
|
|
, pyramid
|
|
, sqlalchemy
|
|
, simplejson
|
|
, mozsvc
|
|
, cornice
|
|
, pyramid_hawkauth
|
|
, pymysql
|
|
, pymysqlsa
|
|
, umemcache
|
|
, WSGIProxy
|
|
, requests
|
|
, pybrowserid
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "serversyncstorage";
|
|
version = "1.6.11";
|
|
disabled = !isPy27;
|
|
|
|
src = fetchgit {
|
|
url = https://github.com/mozilla-services/server-syncstorage.git;
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "197gj2jfs2c6nzs20j37kqxwi91wabavxnfm4rqmrjwhgqjwhnm0";
|
|
};
|
|
|
|
checkInputs = [ testfixtures unittest2 webtest ];
|
|
propagatedBuildInputs = [
|
|
pyramid sqlalchemy simplejson mozsvc cornice pyramid_hawkauth pymysql
|
|
pymysqlsa umemcache WSGIProxy requests pybrowserid
|
|
];
|
|
|
|
meta = {
|
|
broken = true; # 2018-11-04
|
|
};
|
|
}
|