Skip to content

Commit 6575e47

Browse files
python312Packages.pymatreader: 0.0.31 -> 1.0.0 (#378857)
2 parents 4fee3f4 + 3366dda commit 6575e47

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

pkgs/development/python-modules/pymatreader/default.nix

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitLab,
5-
setuptools,
5+
hatchling,
66
h5py,
77
numpy,
88
scipy,
@@ -12,17 +12,23 @@
1212

1313
buildPythonPackage rec {
1414
pname = "pymatreader";
15-
version = "0.0.31";
15+
version = "1.0.0";
1616
pyproject = true;
1717

1818
src = fetchFromGitLab {
1919
owner = "obob";
2020
repo = "pymatreader";
21-
rev = "refs/tags/v${version}";
22-
hash = "sha256-pYObmvqA49sHjpZcwXkN828R/N5CSpmr0OyyxzDiodQ=";
21+
tag = "v${version}";
22+
hash = "sha256-cDEGEvBSj3gmjA+8aXULwuBVk09BLQbA91CNAxgtiLA=";
2323
};
2424

25-
nativeBuildInputs = [ setuptools ];
25+
postPatch = ''
26+
substituteInPlace pyproject.toml \
27+
--replace-fail 'source = "regex_commit"' "" \
28+
--replace-fail '"hatch-regex-commit"' ""
29+
'';
30+
31+
build-system = [ hatchling ];
2632

2733
propagatedBuildInputs = [
2834
h5py

0 commit comments

Comments
 (0)