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