2021-01-25 00:26:54 -08:00
|
|
|
{ lib
|
2018-10-16 13:52:17 -07:00
|
|
|
, buildPythonPackage
|
2020-11-01 14:39:49 -08:00
|
|
|
, fetchFromGitHub
|
2018-10-16 13:52:17 -07:00
|
|
|
, requests
|
|
|
|
, webob
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hawkauthlib";
|
|
|
|
version = "0.1.1";
|
|
|
|
|
2020-11-01 14:39:49 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozilla-services";
|
|
|
|
repo = pname;
|
2018-10-16 13:52:17 -07:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "0mr1mpx4j9q7sch9arwfvpysnpf2p7ijy7072wilxm8pnj0bwvsi";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests webob ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/mozilla-services/hawkauthlib";
|
2018-10-16 13:52:17 -07:00
|
|
|
description = "Hawk Access Authentication protocol";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|