python312Packages.datashape: fix build

This commit is contained in:
Moraxyc
2024-05-23 16:33:54 +08:00
parent 3305b2b25e
commit 7721a54cc1
@@ -7,6 +7,8 @@
numpy,
multipledispatch,
python-dateutil,
setuptools,
versioneer,
}:
let
@@ -29,18 +31,28 @@ in
buildPythonPackage rec {
pname = "datashape";
version = "0.5.4";
format = "setuptools";
pyproject = true;
build-system = [
setuptools
versioneer
];
src = fetcher {
inherit pname version;
sha256 = "0rhlj2kjj1vx5m73wnc5518rd6cs1zsbgpsvzk893n516k69shcf";
};
postPatch = ''
# Remove vendorized versioneer.py
rm versioneer.py
'';
nativeCheckInputs = [
pytest
mock
];
propagatedBuildInputs = [
dependencies = [
numpy
multipledispatch
python-dateutil