nixpkgs/pkgs/development/python-modules/tokenserver/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
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`.
2018-06-23 18:14:26 +02:00

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 ];
}