nixpkgs/pkgs/development/python-modules/pyfido/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
615 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pyfido";
version = "2.1.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-hh2g46GVCkiMHElEP6McY8FdzGNzZV7pgA5DQhodP20=";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyfido" ];
meta = with lib; {
description = "Python client to get fido account data";
homepage = "https://github.com/titilambert/pyfido";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}