@@ -1,6 +1,7 @@
11{ lib
22, python3
33, fetchFromGitHub
4+, fetchpatch
45}:
56python3.pkgs.buildPythonApplication rec {
67 pname = "yarGen";
@@ -14,6 +15,15 @@ python3.pkgs.buildPythonApplication rec {
1415 sha256 = "6PJNAeeLAyUlZcIi0g57sO1Ex6atn7JhbK9kDbNrZ6A=";
1516 };
1617
18+ patches = [
19+ # https://github.com/Neo23x0/yarGen/pull/33
20+ (fetchpatch {
21+ name = "use-built-in-scandir.patch";
22+ url = "https://github.com/Neo23x0/yarGen/commit/cae14ac8efeb5536885792cae99d1d0f7fb6fde3.patch";
23+ sha256 = "0z6925r7n1iysld5c8li5nkm1dbxg8j7pn0626a4vic525vf8ndl";
24+ })
25+ ];
26+
1727 installPhase = ''
1828 runHook preInstall
1929
@@ -23,7 +33,6 @@ python3.pkgs.buildPythonApplication rec {
2333 '';
2434
2535 propagatedBuildInputs = with python3.pkgs; [
26− scandir
2736 pefile
2837 lxml
2938 ];