1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{ lib
, blueprint-compiler
, desktop-file-utils
, fetchFromSourcehut
, gobject-introspection
, gtk4
, libadwaita
, libnotify
, meson
, ninja
, pkg-config
, python3
, stdenv
, wrapGAppsHook4
}:
stdenv.mkDerivation (finalAttrs: {
pname = "confy";
version = "0.7.1";
src = fetchFromSourcehut {
owner = "~fabrixxm";
repo = "confy";
rev = finalAttrs.version;
hash = "sha256-BXQDnRRt2Kuqc1Gwx6Ba6BoEWhICTCsWWkGlBsStyT8=";
};
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
gtk4
libadwaita
libnotify
(python3.withPackages (ps: with ps; [
icalendar
pygobject3
]))
];
postPatch = ''
substituteInPlace build-aux/meson/postinstall.py \
--replace-fail 'gtk-update-icon-cache' 'gtk4-update-icon-cache'
patchShebangs build-aux/meson/postinstall.py
'';
meta = with lib; {
changelog = "https://git.sr.ht/~fabrixxm/confy/refs/${finalAttrs.version}";
description = "Conferences schedule viewer";
homepage = "https://confy.kirgroup.net/";
license = licenses.gpl3Plus;
mainProgram = "confy";
maintainers = with maintainers; [ michaelgrahamevans ];
};
})
|