pythonPakcages.tokenlib: refacotr move to python-modules
This commit is contained in:
parent
3ef39ecdb0
commit
7735833264
26
pkgs/development/python-modules/tokenlib/default.nix
Normal file
26
pkgs/development/python-modules/tokenlib/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, requests
|
||||
, webob
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tokenlib";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/mozilla-services/tokenlib.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests webob ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/mozilla-services/tokenlib;
|
||||
description = "Generic support library for signed-token-based auth schemes";
|
||||
license = licenses.mpl20;
|
||||
};
|
||||
|
||||
}
|
@ -4230,17 +4230,7 @@ in {
|
||||
tornado = callPackage ../development/python-modules/tornado { };
|
||||
tornado_4 = callPackage ../development/python-modules/tornado { version = "4.5.3"; };
|
||||
|
||||
tokenlib = buildPythonPackage rec {
|
||||
name = "tokenlib-${version}";
|
||||
version = "0.3.1";
|
||||
src = pkgs.fetchgit {
|
||||
url = https://github.com/mozilla-services/tokenlib.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ requests webob ];
|
||||
};
|
||||
tokenlib = callPackage ../development/python-modules/tokenlib { };
|
||||
|
||||
tunigo = callPackage ../development/python-modules/tunigo { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user