mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
39 lines
721 B
Nix
39 lines
721 B
Nix
{ 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 ];
|
|
};
|
|
}
|