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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

pomodoro-gtk: init at 1.4.1 #302852

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
63 changes: 63 additions & 0 deletions pkgs/by-name/po/pomodoro-gtk/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{ lib
, stdenv
, fetchFromGitLab
, meson
, ninja
, pkg-config
, gjs
, gobject-introspection
, blueprint-compiler
, wrapGAppsHook4
, desktop-file-utils
, libadwaita
, libgda6
, gsound
, gst_all_1
, libportal-gtk4
}:

stdenv.mkDerivation {
pname = "pomodoro-gtk";
version = "1.4.1";

src = fetchFromGitLab {
owner = "idevecore";
repo = "pomodoro";
rev = "44b724557539084991f3eb55b9593053a2c73eba"; # author didn't make a tag
fetchSubmodules = true;
hash = "sha256-krVRVMrrzuqPY/3P9dCz7rVCCW7/j5cpT95XniGpBEs=";
};

postPatch = ''
patchShebangs --build troll/gjspack/bin/gjspack
'';

nativeBuildInputs = [
meson
ninja
pkg-config
gjs # runtime for gjspack
gobject-introspection
blueprint-compiler
wrapGAppsHook4
desktop-file-utils
];

buildInputs = [
gjs
libadwaita
libgda6
gsound
gst_all_1.gst-plugins-base
libportal-gtk4
];

meta = {
description = "A simple and intuitive timer application (also named Planytimer)";
homepage = "https://gitlab.com/idevecore/pomodoro";
license = lib.licenses.gpl3Plus;
mainProgram = "pomodoro";
maintainers = with lib.maintainers; [ aleksana ];
platforms = lib.platforms.unix;
};
}