Skip to content

Commit

Permalink
francis: init at 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cimm committed Mar 23, 2024
1 parent c1a1723 commit a8f56ae
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions pkgs/by-name/fr/francis/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{ cmake
, fetchFromGitLab
, kdePackages
, lib
, pkg-config
, stdenv
}:

stdenv.mkDerivation rec {
pname = "francis";
version = "1.1.0";

src = fetchFromGitLab {
domain = "invent.kde.org";
repo = "francis";
owner = "utilities";
rev = "v${version}";
hash = "sha256-TvLFzGWb3RROGywhNzCvnFG00PpKC2k+/w1bgwTCESg=";
};

nativeBuildInputs = [
cmake
kdePackages.kirigami
kdePackages.kirigami-addons
kdePackages.plasma5support
kdePackages.qqc2-desktop-style
kdePackages.qtsvg
kdePackages.qtwayland
kdePackages.wrapQtAppsHook
pkg-config
];

buildInputs = [
kdePackages.kiconthemes
# otherwise buttons are blank on non-kde
kdePackages.breeze-icons
];

cmakeFlags = [
# fix can't find Qt6QmlCompilerPlusPrivate
"-DQT_NO_FIND_QMLSC=TRUE"
];

meta = with lib; {
description = "Francis uses the well-known pomodoro technique to help you get more productive";
homepage = "https://apps.kde.org/francis/";
license = with licenses; [ bsd2 bsd3 cc0 lgpl2Plus lgpl21Plus gpl3Plus ];
mainProgram = "francis";
maintainers = with maintainers; [ cimm ];
platforms = lib.platforms.linux;
};
}

0 comments on commit a8f56ae

Please sign in to comment.