Merge pull request #302852 from Aleksanaa/pomodoro

pomodoro-gtk: init at 1.4.1
This commit is contained in:
Aleksana 2024-04-12 11:13:59 +08:00 committed by GitHub
commit fe8cdc342c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 63 additions and 0 deletions

View File

@ -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;
};
}