mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 09:28:30 +02:00
configured crowdsec
This commit is contained in:
parent
5fa24530b1
commit
60e1f3c3d0
9 changed files with 196 additions and 17 deletions
62
pkgs/gnome-break-timer/default.nix
Normal file
62
pkgs/gnome-break-timer/default.nix
Normal file
|
@ -0,0 +1,62 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, meson
|
||||
, vala
|
||||
, pkgconfig
|
||||
, cairo
|
||||
, gsound
|
||||
, gtk3
|
||||
, json-glib
|
||||
, libcanberra
|
||||
, libnotify
|
||||
, ninja
|
||||
, gtk4
|
||||
, glib
|
||||
, gsettings-desktop-schemas
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-break-timer";
|
||||
version = "2.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://gitlab.gnome.org/GNOME/${pname}/-/archive/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-B13vZbYwniB9+ZF/XduJHvOd6FwZUpMIdbB8EPUbuS8=";
|
||||
};
|
||||
|
||||
MESON_INSTALL_PREFIX = "$out";
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
vala
|
||||
pkgconfig
|
||||
cairo
|
||||
gsound
|
||||
gtk3
|
||||
json-glib
|
||||
libcanberra
|
||||
libnotify
|
||||
wrapGAppsHook
|
||||
glib.dev
|
||||
];
|
||||
buildInputs = [
|
||||
gtk4
|
||||
glib
|
||||
gsettings-desktop-schemas
|
||||
];
|
||||
|
||||
patches = [ ./0001-remove-install-script.patch ];
|
||||
|
||||
postInstall = ''
|
||||
glib-compile-schemas $out/share/glib-2.0/schemas
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://wiki.gnome.org/Apps/BreakTimer";
|
||||
description = "Clock application designed for GNOME 3";
|
||||
maintainers = [ maintainers.therealr5 ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue