mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
64 lines
1.2 KiB
Nix
64 lines
1.2 KiB
Nix
{ 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 = "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;
|
|
};
|
|
}
|