depot/third_party/nixpkgs/pkgs/development/python-modules/tokenlib/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
580 B
Nix

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