about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/bfcal/default.nix
blob: 0f801aa2e13046def4b58716e1f9257d094ea556 (plain) (blame)
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
{ stdenv
, lib
, fetchFromSourcehut
, meson
, ninja
, pkg-config
, wrapQtAppsHook
, qtbase
}:

stdenv.mkDerivation rec {
  pname = "bfcal";
  version = "1.0.1";

  src = fetchFromSourcehut {
    owner = "~bitfehler";
    repo = "bfcal";
    rev = "v${version}";
    sha256 = "sha256-5xyBU+0XUNFUGgvw7U8YE64zncw6SvPmbJhc1LY2u/g=";
  };

  nativeBuildInputs = [
    meson ninja pkg-config wrapQtAppsHook
  ];

  buildInputs = [
    qtbase
  ];

  meta = with lib; {
    description = "Quickly display a calendar";
    mainProgram = "bfcal";
    homepage = "https://git.sr.ht/~bitfehler/bfcal";
    license = licenses.gpl3Plus;
    platforms = qtbase.meta.platforms;
    maintainers = with maintainers; [ laalsaas ];
  };
}