diff options
author | Daniel Poelzleithner <poelzleithner@b1-systems.de> | 2023-05-03 15:36:42 +0200 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-15 12:15:28 -0300 |
commit | 532b383f4387304cc0109226475c73e48396d3df (patch) | |
tree | f9c9a84c61495b5c9d78ed3ed031d8ff41178eac /pkgs/applications/misc/kemai/default.nix | |
parent | f5281f01da47e35cb182935f3572d1e0668e9e0c (diff) | |
download | nixpkgs-532b383f4387304cc0109226475c73e48396d3df.tar nixpkgs-532b383f4387304cc0109226475c73e48396d3df.tar.gz nixpkgs-532b383f4387304cc0109226475c73e48396d3df.tar.bz2 nixpkgs-532b383f4387304cc0109226475c73e48396d3df.tar.lz nixpkgs-532b383f4387304cc0109226475c73e48396d3df.tar.xz nixpkgs-532b383f4387304cc0109226475c73e48396d3df.tar.zst nixpkgs-532b383f4387304cc0109226475c73e48396d3df.zip |
kemai: init at 0.9.2
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
Diffstat (limited to 'pkgs/applications/misc/kemai/default.nix')
-rw-r--r-- | pkgs/applications/misc/kemai/default.nix | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/pkgs/applications/misc/kemai/default.nix b/pkgs/applications/misc/kemai/default.nix new file mode 100644 index 00000000000..1e358299f5f --- /dev/null +++ b/pkgs/applications/misc/kemai/default.nix @@ -0,0 +1,52 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, magic-enum +, spdlog +, qtbase +, qtconnectivity +, qttools +, qtlanguageserver +, wrapQtAppsHook +, libXScrnSaver +, nix-update-script +}: + +stdenv.mkDerivation rec { + pname = "kemai"; + version = "0.9.2"; + + src = fetchFromGitHub { + owner = "AlexandrePTJ"; + repo = "kemai"; + rev = version; + hash = "sha256-PDjNO2iMPK0J3TSHVZ/DW3W0GkdB8yNZYoTGEd2snac="; + }; + + buildInputs = [ + qtbase + qtconnectivity + qttools + qtlanguageserver + libXScrnSaver + magic-enum + spdlog + ]; + cmakeFlags = [ "-DUSE_CONAN=OFF" ]; + patches = [ ./000-cmake-disable-conan.diff ]; + + nativeBuildInputs = [ cmake wrapQtAppsHook ]; + + passthru = { + updateScript = nix-update-script { }; + }; + + meta = with lib; { + description = "Kimai desktop client written in QT6"; + homepage = "https://github.com/AlexandrePTJ/kemai"; + license = licenses.mit; + maintainers = with maintainers; [ poelzi ]; + platforms = platforms.unix; + }; +} |