2024-02-07 01:22:34 +00:00
|
|
|
{ lib
|
|
|
|
, blueprint-compiler
|
2023-03-15 16:39:30 +00:00
|
|
|
, desktop-file-utils
|
2023-08-04 22:07:22 +00:00
|
|
|
, fetchFromSourcehut
|
2023-03-15 16:39:30 +00:00
|
|
|
, gobject-introspection
|
2023-08-04 22:07:22 +00:00
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
2023-03-15 16:39:30 +00:00
|
|
|
, libnotify
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, stdenv
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2023-03-15 16:39:30 +00:00
|
|
|
pname = "confy";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.7.1";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~fabrixxm";
|
|
|
|
repo = "confy";
|
2024-02-07 01:22:34 +00:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-BXQDnRRt2Kuqc1Gwx6Ba6BoEWhICTCsWWkGlBsStyT8=";
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2023-08-04 22:07:22 +00:00
|
|
|
blueprint-compiler
|
2023-03-15 16:39:30 +00:00
|
|
|
desktop-file-utils
|
2024-02-07 01:22:34 +00:00
|
|
|
gobject-introspection
|
2023-03-15 16:39:30 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2023-08-04 22:07:22 +00:00
|
|
|
gtk4
|
|
|
|
libadwaita
|
2023-03-15 16:39:30 +00:00
|
|
|
libnotify
|
|
|
|
(python3.withPackages (ps: with ps; [
|
|
|
|
icalendar
|
|
|
|
pygobject3
|
|
|
|
]))
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
2023-08-04 22:07:22 +00:00
|
|
|
patchShebangs build-aux/meson/postinstall.py
|
2023-03-15 16:39:30 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-02-07 01:22:34 +00:00
|
|
|
changelog = "https://git.sr.ht/~fabrixxm/confy/refs/${finalAttrs.version}";
|
2023-03-15 16:39:30 +00:00
|
|
|
description = "Conferences schedule viewer";
|
|
|
|
homepage = "https://confy.kirgroup.net/";
|
2024-02-07 01:22:34 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
mainProgram = "confy";
|
2023-03-15 16:39:30 +00:00
|
|
|
maintainers = with maintainers; [ michaelgrahamevans ];
|
|
|
|
};
|
2024-02-07 01:22:34 +00:00
|
|
|
})
|