Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curtail: 1.3.1 → 1.8.0 #280348

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions pkgs/applications/graphics/curtail/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
, appstream-glib
, desktop-file-utils
, gettext
, gtk3
, gtk4
, libadwaita
, meson
, ninja
, pkg-config
Expand All @@ -14,26 +15,28 @@
, libwebp
, optipng
, pngquant
, oxipng
}:

python3.pkgs.buildPythonApplication rec {
pname = "curtail";
version = "1.3.1";
version = "1.8.0";
format = "other";

src = fetchFromGitHub {
owner = "Huluti";
repo = "Curtail";
rev = "refs/tags/${version}";
sha256 = "sha256-/xvkRXs1EVu+9RZM+TnyIGxFV2stUR9XHEmaJxsJ3V8=";
sha256 = "sha256-LLz4nZ9WFQMogQR2gCKn80gvHUG5hlpQpcNjpr4fs2s=";
};

nativeBuildInputs = [
wrapGAppsHook
appstream-glib
desktop-file-utils
gettext
gtk3
gtk4
libadwaita
meson
ninja
pkg-config
Expand All @@ -43,7 +46,8 @@ python3.pkgs.buildPythonApplication rec {
buildInputs = [
appstream-glib
gettext
gtk3
gtk4
libadwaita
];

propagatedBuildInputs = [
Expand All @@ -59,7 +63,7 @@ python3.pkgs.buildPythonApplication rec {
preFixup = ''
makeWrapperArgs+=(
"''${gappsWrapperArgs[@]}"
"--prefix" "PATH" ":" "${lib.makeBinPath [ jpegoptim libwebp optipng pngquant ]}"
"--prefix" "PATH" ":" "${lib.makeBinPath [ jpegoptim libwebp optipng pngquant oxipng ]}"
)
'';

Expand Down