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`.
34 lines
627 B
Nix
34 lines
627 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchgit
|
|
, testfixtures
|
|
, cornice
|
|
, mozsvc
|
|
, pybrowserid
|
|
, tokenlib
|
|
, pymysql
|
|
, umemcache
|
|
, hawkauthlib
|
|
, alembic
|
|
, pymysqlsa
|
|
, paste
|
|
, boto
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tokenserver";
|
|
version = "1.2.27";
|
|
|
|
src = fetchgit {
|
|
url = https://github.com/mozilla-services/tokenserver.git;
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "0il3bgjld495g9gxvvrm56kpan5swaizzg216qz3zxmb6w9ly3fm";
|
|
};
|
|
|
|
doCheck = false;
|
|
checkInputs = [ testfixtures ];
|
|
propagatedBuildInputs = [ cornice mozsvc pybrowserid tokenlib
|
|
pymysql umemcache hawkauthlib alembic pymysqlsa paste boto ];
|
|
|
|
}
|