Unverified Commit 6575e471 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

python312Packages.pymatreader: 0.0.31 -> 1.0.0 (#378857)

parents 4fee3f41 3366dda7
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -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