depot/third_party/nixpkgs/pkgs/development/python-modules/hawkauthlib/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

27 lines
563 B
Nix

{ lib, stdenv
, buildPythonPackage
, fetchFromGitHub
, requests
, webob
}:
buildPythonPackage rec {
pname = "hawkauthlib";
version = "0.1.1";
src = fetchFromGitHub {
owner = "mozilla-services";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0mr1mpx4j9q7sch9arwfvpysnpf2p7ijy7072wilxm8pnj0bwvsi";
};
propagatedBuildInputs = [ requests webob ];
meta = with lib; {
homepage = "https://github.com/mozilla-services/hawkauthlib";
description = "Hawk Access Authentication protocol";
license = licenses.mpl20;
};
}