12 , gobject-introspection
19 python3.pkgs.buildPythonApplication rec {
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 sha256 = "sha256-/xvkRXs1EVu+9RZM+TnyIGxFV2stUR9XHEmaJxsJ3V8=";
42 propagatedBuildInputs = [
44 python3.pkgs.pygobject3
49 # Currently still required for the gobject-introspection setup hook
53 patchShebangs ../build-aux/meson/postinstall.py
57 wrapProgram $out/bin/curtail --prefix PATH : ${lib.makeBinPath [ jpegoptim libwebp optipng pngquant ]}
61 description = "Simple & useful image compressor";
62 homepage = "https://github.com/Huluti/Curtail";
63 license = licenses.gpl3Only;
64 maintainers = with maintainers; [ anselmschueler ];