depot/third_party/nixpkgs/pkgs/development/python-modules/tokenlib/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

27 lines
572 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, webob
}:
buildPythonPackage rec {
pname = "tokenlib";
version = "0.3.1";
src = fetchFromGitHub {
owner = "mozilla-services";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8";
};
propagatedBuildInputs = [ requests webob ];
meta = with lib; {
homepage = "https://github.com/mozilla-services/tokenlib";
description = "Generic support library for signed-token-based auth schemes";
license = licenses.mpl20;
};
}