1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

Francis: init at 1.1.0 (#298182)

This commit is contained in:
Simon Schoeters 2024-04-09 17:37:20 +02:00 committed by GitHub
parent f5296a5b38
commit 4d3e4f4341
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = "Using 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;
};
}