tokenserver: move to python-modules
This commit is contained in:
parent
c8b6e1fa3c
commit
0c139e2186
36
pkgs/development/python-modules/tokenserver/default.nix
Normal file
36
pkgs/development/python-modules/tokenserver/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, testfixtures
|
||||
, cornice
|
||||
, mozsvc
|
||||
, pybrowserid
|
||||
, tokenlib
|
||||
, pymysql
|
||||
, umemcache
|
||||
, hawkauthlib
|
||||
, alembic
|
||||
, pymysqlsa
|
||||
, paste
|
||||
, boto
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "tokenserver-${version}";
|
||||
version = "1.2.27";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/mozilla-services/tokenserver.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0il3bgjld495g9gxvvrm56kpan5swaizzg216qz3zxmb6w9ly3fm";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
buildInputs = [ testfixtures ];
|
||||
propagatedBuildInputs = [ cornice mozsvc pybrowserid tokenlib
|
||||
pymysql umemcache hawkauthlib alembic pymysqlsa paste boto ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -374,6 +374,8 @@ in {
|
||||
hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; };
|
||||
};
|
||||
|
||||
tokenserver = callPackage ../development/python-modules/tokenserver {};
|
||||
|
||||
unifi = callPackage ../development/python-modules/unifi { };
|
||||
|
||||
pyunbound = callPackage ../tools/networking/unbound/python.nix { };
|
||||
@ -19182,26 +19184,6 @@ EOF
|
||||
'';
|
||||
};
|
||||
|
||||
tokenserver = buildPythonPackage rec {
|
||||
name = "tokenserver-${version}";
|
||||
version = "1.2.27";
|
||||
|
||||
src = pkgs.fetchgit {
|
||||
url = https://github.com/mozilla-services/tokenserver.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0il3bgjld495g9gxvvrm56kpan5swaizzg216qz3zxmb6w9ly3fm";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
buildInputs = [ self.testfixtures ];
|
||||
propagatedBuildInputs = with self; [ cornice mozsvc pybrowserid tokenlib
|
||||
pymysql umemcache hawkauthlib alembic pymysqlsa paste boto ];
|
||||
|
||||
meta = {
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
|
||||
testfixtures = callPackage ../development/python-modules/testfixtures {};
|
||||
|
||||
tissue = buildPythonPackage rec {
|
||||
|
Loading…
Reference in New Issue
Block a user