nixpkgs/pkgs/development/python-modules/xlrd/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

31 lines
589 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "xlrd";
version = "2.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef274d0c88";
};
nativeCheckInputs = [
pytestCheckHook
];
# No tests in archive
doCheck = false;
meta = with lib; {
homepage = "https://www.python-excel.org/";
description = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files";
license = licenses.bsd0;
};
}