File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1818 webp-pixbuf-loader ,
1919 libsoup_3 ,
2020 bash ,
21+ glib-networking ,
22+ tesseract ,
2123 nix-update-script ,
2224} :
2325python3Packages . buildPythonApplication ( finalAttrs : {
2426 pname = "gradia" ;
25- version = "1.11.3 " ;
27+ version = "1.12.0 " ;
2628 pyproject = false ;
2729
2830 src = fetchFromGitHub {
2931 owner = "AlexanderVanhee" ;
3032 repo = "Gradia" ;
31- rev = "472a970e10c3a85f9db938719ebba121321c1d90 " ;
32- hash = "sha256-2PSpFmojAIyDNx5yYrLE3CjO/q5iBArmIRikxCGW1HM =" ;
33+ tag = "v ${ finalAttrs . version } " ;
34+ hash = "sha256-iYqMuqq2AmrdNMa7dkDUGg1+gCG7wL/rDEdWAPfcQnw =" ;
3335 } ;
3436
3537 nativeBuildInputs = [
@@ -49,8 +51,15 @@ python3Packages.buildPythonApplication (finalAttrs: {
4951 libportal-gtk4
5052 libsoup_3
5153 bash
54+ glib-networking
55+ tesseract
5256 ] ;
5357
58+ postPatch = ''
59+ substituteInPlace meson.build \
60+ --replace "/app/bin/tesseract" "${ lib . getExe tesseract } "
61+ '' ;
62+
5463 dependencies = with python3Packages ; [
5564 pygobject3
5665 pillow
You can’t perform that action at this time.
0 commit comments