Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / confy / default.nix
blobb8e57bd84b95233361eb792aeefbbea66067f890
1 { blueprint-compiler
2 , desktop-file-utils
3 , fetchFromSourcehut
4 , gobject-introspection
5 , gtk4
6 , lib
7 , libadwaita
8 , libnotify
9 , meson
10 , ninja
11 , pkg-config
12 , python3
13 , stdenv
14 , wrapGAppsHook
17 stdenv.mkDerivation rec {
18   pname = "confy";
19   version = "0.7.0";
21   src = fetchFromSourcehut {
22     owner = "~fabrixxm";
23     repo = "confy";
24     rev = version;
25     hash = "sha256-q8WASTNbiBuKb2tPQBmUL9ji60PRAPnYOTYxnUn0MAw=";
26   };
28   nativeBuildInputs = [
29     blueprint-compiler
30     desktop-file-utils
31     meson
32     ninja
33     pkg-config
34     wrapGAppsHook
35     gobject-introspection
36   ];
38   buildInputs = [
39     gtk4
40     libadwaita
41     libnotify
42     (python3.withPackages (ps: with ps; [
43       icalendar
44       pygobject3
45     ]))
46   ];
48   postPatch = ''
49     patchShebangs build-aux/meson/postinstall.py
50   '';
52   meta = with lib; {
53     description = "Conferences schedule viewer";
54     homepage = "https://confy.kirgroup.net/";
55     changelog = "https://git.sr.ht/~fabrixxm/confy/refs/${version}";
56     license = licenses.gpl3;
57     maintainers = with maintainers; [ michaelgrahamevans ];
58   };