nixpkgs/pkgs/development/python-modules/hawkauthlib/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

29 lines
580 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, webob
}:
buildPythonPackage rec {
pname = "hawkauthlib";
version = "0.1.1";
format = "setuptools";
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;
};
}