3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/hawkauthlib/default.nix
2021-01-25 18:31:47 +01:00

28 lines
555 B
Nix

{ lib
, 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;
};
}