Skip to content

Commit

Permalink
bfcal: init at 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
laalsaas committed Oct 12, 2022
1 parent 756169b commit 4a22f4b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
41 changes: 41 additions & 0 deletions pkgs/applications/misc/bfcal/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ stdenv
, lib
, fetchFromSourcehut
, meson
, ninja
, pkg-config
, wrapQtAppsHook
, qtbase
}:

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

src = fetchFromSourcehut {
owner = "~bitfehler";
repo = "bfcal";
rev = "v${version}";
sha256 = "sha256-2z5ICVEZ55omwcoVWpac/HPwyKF9jDCYO78S9p21VMU=";
};

nativeBuildInputs = [
meson ninja pkg-config wrapQtAppsHook
];

buildInputs = [
qtbase
];

postInstall = ''
mkdir -p $out/bin
install bfcal $out/bin
'';

meta = with lib; {
description = "Quickly display a calendar";
homepage = "https://git.sr.ht/~bitfehler/bfcal";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ laalsaas ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27083,6 +27083,8 @@ with pkgs;

bevelbar = callPackage ../applications/window-managers/bevelbar { };

bfcal = libsForQt5.callPackage ../applications/misc/bfcal { };

bibletime = libsForQt5.callPackage ../applications/misc/bibletime { };

bino3d = libsForQt5.callPackage ../applications/video/bino3d {
Expand Down

0 comments on commit 4a22f4b

Please sign in to comment.