Commit d96d01d7 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python313Packages.pystemd: unbreak

parent b5393707
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  pytest,
  mock,
  pkg-config,
  cython,
}:

buildPythonPackage rec {
@@ -19,9 +20,17 @@ buildPythonPackage rec {
    hash = "sha256-Tc+ksTpVaFxJ09F8EGMeyhjDN3D2Yxb47yM3uJUcwUQ=";
  };

  postPatch = ''
    # remove cythonized sources, build them anew to support more python version
    rm pystemd/*.c
  '';

  buildInputs = [ systemd ];

  nativeBuildInputs = [ pkg-config ];
  nativeBuildInputs = [
    pkg-config
    cython
  ];

  propagatedBuildInputs = [
    lxml