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

26 lines
677 B
Nix

{ lib, buildPythonPackage, fetchPypi
, requests }:
buildPythonPackage rec {
pname = "yubico-client";
version = "1.13.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "e3b86cd2a123105edfacad40551c7b26e9c1193d81ffe168ee704ebfd3d11162";
};
propagatedBuildInputs = [ requests ];
# pypi package missing test_utils and github releases is behind
doCheck = false;
meta = with lib; {
description = "Verifying Yubico OTPs based on the validation protocol version 2.0";
homepage = "https://github.com/Kami/python-yubico-client/";
maintainers= with maintainers; [ peterromfeldhk ];
license = licenses.bsd3;
};
}