2020-10-07 09:15:18 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, python, mohawk, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "requests-hawk";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "1.2.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-rZIFBCyUvbFa+qGbB4DhEHeyTZ5c/6wfs9JssIqkNbc=";
|
2020-10-07 09:15:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mohawk requests ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Hawk authentication strategy for the requests python library.";
|
2022-10-30 15:09:59 +00:00
|
|
|
homepage = "https://github.com/mozilla-services/requests-hawk";
|
2020-10-07 09:15:18 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ austinbutler ];
|
|
|
|
};
|
|
|
|
}
|