Skip to content

Commit

Permalink
cclib: add patch for build with numpy-2
Browse files Browse the repository at this point in the history
  • Loading branch information
markuskowa committed Jan 14, 2025
1 parent cb948fc commit 4af8b8c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/python-by-name/cclib/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ buildPythonPackage
, lib
, fetchFromGitHub
, fetchpatch
, isPy311
, setuptools
, pytestCheckHook
Expand Down Expand Up @@ -30,6 +31,12 @@ buildPythonPackage rec {
hash = "sha256-XYFVSJ11MGx2dq/yYa5jaC2XsrStZCT5WzwSCelEV3U=";
};

patches = [(fetchpatch {
name = "numpy-2";
url = "https://github.com/cclib/cclib/pull/1513/commits/bfca15ca759f2d8fbb34b4cce24b91c4cd48b20f.patch";
hash = "sha256-Pm3CGk6WEzh7Ov9JUrXHESxPanBFNGA49YpVrZBObYk=";
})];

pyproject = true;

postPatch = ''
Expand Down

0 comments on commit 4af8b8c

Please sign in to comment.