python312Packages.pymatreader: 0.0.31 -> 1.0.0

This commit is contained in:
FliegendeWurst
2025-02-02 16:42:44 +01:00
parent 755b915a15
commit 3366dda7f4
@@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitLab,
setuptools,
hatchling,
h5py,
numpy,
scipy,
@@ -12,17 +12,23 @@
buildPythonPackage rec {
pname = "pymatreader";
version = "0.0.31";
version = "1.0.0";
pyproject = true;
src = fetchFromGitLab {
owner = "obob";
repo = "pymatreader";
rev = "refs/tags/v${version}";
hash = "sha256-pYObmvqA49sHjpZcwXkN828R/N5CSpmr0OyyxzDiodQ=";
tag = "v${version}";
hash = "sha256-cDEGEvBSj3gmjA+8aXULwuBVk09BLQbA91CNAxgtiLA=";
};
nativeBuildInputs = [ setuptools ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'source = "regex_commit"' "" \
--replace-fail '"hatch-regex-commit"' ""
'';
build-system = [ hatchling ];
propagatedBuildInputs = [
h5py