lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tokenserver: move to python-modules

authored by

Nadrieril and committed by
Frederik Rietdijk
0c139e21 c8b6e1fa

+38 -20
+36
pkgs/development/python-modules/tokenserver/default.nix
··· 1 + { stdenv 2 + , buildPythonPackage 3 + , fetchgit 4 + , testfixtures 5 + , cornice 6 + , mozsvc 7 + , pybrowserid 8 + , tokenlib 9 + , pymysql 10 + , umemcache 11 + , hawkauthlib 12 + , alembic 13 + , pymysqlsa 14 + , paste 15 + , boto 16 + }: 17 + 18 + buildPythonPackage rec { 19 + name = "tokenserver-${version}"; 20 + version = "1.2.27"; 21 + 22 + src = fetchgit { 23 + url = https://github.com/mozilla-services/tokenserver.git; 24 + rev = "refs/tags/${version}"; 25 + sha256 = "0il3bgjld495g9gxvvrm56kpan5swaizzg216qz3zxmb6w9ly3fm"; 26 + }; 27 + 28 + doCheck = false; 29 + buildInputs = [ testfixtures ]; 30 + propagatedBuildInputs = [ cornice mozsvc pybrowserid tokenlib 31 + pymysql umemcache hawkauthlib alembic pymysqlsa paste boto ]; 32 + 33 + meta = { 34 + platforms = stdenv.lib.platforms.all; 35 + }; 36 + }
+2 -20
pkgs/top-level/python-packages.nix
··· 374 374 hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; }; 375 375 }; 376 376 377 + tokenserver = callPackage ../development/python-modules/tokenserver {}; 378 + 377 379 unifi = callPackage ../development/python-modules/unifi { }; 378 380 379 381 pyunbound = callPackage ../tools/networking/unbound/python.nix { }; ··· 19180 19182 checkPhase = '' 19181 19183 py.test $out/${python.sitePackages}/zmq/ -k "not test_large_send and not test_recv_json_cancelled" 19182 19184 ''; 19183 - }; 19184 - 19185 - tokenserver = buildPythonPackage rec { 19186 - name = "tokenserver-${version}"; 19187 - version = "1.2.27"; 19188 - 19189 - src = pkgs.fetchgit { 19190 - url = https://github.com/mozilla-services/tokenserver.git; 19191 - rev = "refs/tags/${version}"; 19192 - sha256 = "0il3bgjld495g9gxvvrm56kpan5swaizzg216qz3zxmb6w9ly3fm"; 19193 - }; 19194 - 19195 - doCheck = false; 19196 - buildInputs = [ self.testfixtures ]; 19197 - propagatedBuildInputs = with self; [ cornice mozsvc pybrowserid tokenlib 19198 - pymysql umemcache hawkauthlib alembic pymysqlsa paste boto ]; 19199 - 19200 - meta = { 19201 - platforms = platforms.all; 19202 - }; 19203 19185 }; 19204 19186 19205 19187 testfixtures = callPackage ../development/python-modules/testfixtures {};