Unverified Commit 35fc42ab authored by Tom Hunze's avatar Tom Hunze
Browse files

python3Packages.filebytes: fix build with python 3.14

parent 1c78412e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchpatch,
}:

buildPythonPackage rec {
@@ -14,6 +15,15 @@ buildPythonPackage rec {
    sha256 = "0h97i6h525hg401dvvaa5krxi184qpvldbdn0izmirvr9pvh4hkn";
  };

  patches = [
    # Upstream PR: https://github.com/sashs/filebytes/pull/36
    (fetchpatch {
      name = "python-3.14.patch";
      url = "https://github.com/sashs/filebytes/commit/469058d50d4b7ff8da54b623a0a1aa972cd78dc6.patch";
      hash = "sha256-VizYOqyJ3xpJIU4KKsYcz2DCurlfrWTgdsn84FVWD6w=";
    })
  ];

  meta = {
    homepage = "https://scoding.de/filebytes-introduction";
    license = lib.licenses.gpl2;