diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-07 10:43:07 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-07 10:46:51 +0200 |
commit | 0359f150cd6704c3412275dd7e0a0e82f33deb93 (patch) | |
tree | eed3cac2d9d49744d1dd56b30f993f6138220aa8 /pkgs/development/python-modules/tokenserver | |
parent | 0a6d4b669bb9049f6ab56962c8e6e56ea2e7d31f (diff) | |
download | nixlib-0359f150cd6704c3412275dd7e0a0e82f33deb93.tar nixlib-0359f150cd6704c3412275dd7e0a0e82f33deb93.tar.gz nixlib-0359f150cd6704c3412275dd7e0a0e82f33deb93.tar.bz2 nixlib-0359f150cd6704c3412275dd7e0a0e82f33deb93.tar.lz nixlib-0359f150cd6704c3412275dd7e0a0e82f33deb93.tar.xz nixlib-0359f150cd6704c3412275dd7e0a0e82f33deb93.tar.zst nixlib-0359f150cd6704c3412275dd7e0a0e82f33deb93.zip |
python.pkgs.tokenserver: 1.2.27 -> 1.3.1
Diffstat (limited to 'pkgs/development/python-modules/tokenserver')
-rw-r--r-- | pkgs/development/python-modules/tokenserver/default.nix | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/pkgs/development/python-modules/tokenserver/default.nix b/pkgs/development/python-modules/tokenserver/default.nix index 44fcb9b46ff9..a07da568dca4 100644 --- a/pkgs/development/python-modules/tokenserver/default.nix +++ b/pkgs/development/python-modules/tokenserver/default.nix @@ -1,32 +1,35 @@ -{ buildPythonPackage -, fetchgit -, testfixtures -, cornice -, mozsvc -, pybrowserid -, tokenlib -, pymysql -, umemcache -, hawkauthlib -, alembic -, pymysqlsa -, paste -, boto +{ lib, buildPythonPackage, fetchFromGitHub +, alembic, boto, cornice, hawkauthlib, mozsvc, paste, pybrowserid, pyfxa +, pymysql, pymysqlsa, sqlalchemy, testfixtures, tokenlib, umemcache +, mock, nose, unittest2, webtest }: buildPythonPackage rec { pname = "tokenserver"; - version = "1.2.27"; + version = "1.3.1"; - src = fetchgit { - url = https://github.com/mozilla-services/tokenserver.git; - rev = "refs/tags/${version}"; - sha256 = "0il3bgjld495g9gxvvrm56kpan5swaizzg216qz3zxmb6w9ly3fm"; + src = fetchFromGitHub { + owner = "mozilla-services"; + repo = pname; + rev = version; + sha256 = "04z0r8xzrmhvh04y8ggdz9gs8qa8lv3qr7kasf6lm63fixsfgrlp"; }; + propagatedBuildInputs = [ + alembic boto cornice hawkauthlib mozsvc paste pybrowserid pyfxa + pymysql pymysqlsa sqlalchemy testfixtures tokenlib umemcache + ]; + + checkInputs = [ + mock nose unittest2 webtest + ]; + + # Requires virtualenv, MySQL, ... doCheck = false; - checkInputs = [ testfixtures ]; - propagatedBuildInputs = [ cornice mozsvc pybrowserid tokenlib - pymysql umemcache hawkauthlib alembic pymysqlsa paste boto ]; + meta = with lib; { + description = "The Mozilla Token Server"; + homepage = https://github.com/mozilla-services/tokenserver; + license = licenses.mpl20; + }; } |