python312Packages.pymatreader: 0.0.31 -> 1.0.0 (#378857)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user