Files
nixpkgs/pkgs/development/python-modules/pyexcel-xls/default.nix
dish 6a2c975c57 python3Packages.pyexcel-xls: fix build
Removes a patch that is applied in 0.7.1

(cherry picked from commit 88670a3166)
2025-08-25 16:26:59 +00:00

51 lines
884 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyexcel-io,
xlrd,
xlwt,
pyexcel,
pytestCheckHook,
pytest-cov-stub,
setuptools,
}:
buildPythonPackage rec {
pname = "pyexcel-xls";
version = "0.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pyexcel";
repo = "pyexcel-xls";
rev = "v${version}";
hash = "sha256-wxsx/LfeBxi+NnHxfxk3svzsBcdwOiLQ1660eoHfmLg=";
};
build-system = [ setuptools ];
dependencies = [
pyexcel-io
xlrd
xlwt
];
nativeCheckInputs = [
pytestCheckHook
pyexcel
pytest-cov-stub
];
postPatch = ''
substituteInPlace setup.py --replace "xlrd<2" "xlrd<3"
'';
meta = {
description = "Wrapper library to read, manipulate and write data in xls using xlrd and xlwt";
homepage = "http://docs.pyexcel.org/";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}