nixpkgs/pkgs/applications/office/kexi/default.nix
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00

113 lines
2.3 KiB
Nix

{
mkDerivation,
lib,
fetchurl,
fetchpatch,
extra-cmake-modules,
kdoctools,
boost,
qttools,
qtwebkit,
breeze-icons,
karchive,
kcodecs,
kcompletion,
kconfig,
kconfigwidgets,
kcoreaddons,
kcrash,
kguiaddons,
ki18n,
kiconthemes,
kitemviews,
kio,
ktexteditor,
ktextwidgets,
kwidgetsaddons,
kxmlgui,
kdb,
kproperty,
kreport,
lcms2,
libmysqlclient,
marble,
postgresql,
}:
mkDerivation rec {
pname = "kexi";
version = "3.2.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/src/${pname}-${version}.tar.xz";
sha256 = "1zy1q7q9rfdaws3rwf3my22ywkn6g747s3ixfcg9r80mm2g3z0bs";
};
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
buildInputs = [
boost
qttools
qtwebkit
breeze-icons
karchive
kcodecs
kcompletion
kconfig
kconfigwidgets
kcoreaddons
kcrash
kguiaddons
ki18n
kiconthemes
kitemviews
kio
ktexteditor
ktextwidgets
kwidgetsaddons
kxmlgui
kdb
kproperty
kreport
lcms2
libmysqlclient
marble
postgresql
];
propagatedUserEnvPkgs = [ kproperty ];
patches = [
# Changes in Qt 5.13 mean that QDate isn't exported from certain places,
# which the build was relying on. This patch explicitly imports QDate where
# needed.
# Should be unnecessary with kexi >= 3.3
(fetchpatch {
url = "https://cgit.kde.org/kexi.git/patch/src/plugins/forms/widgets/kexidbdatepicker.cpp?id=511d99b7745a6ce87a208bdbf69e631f1f136d53";
sha256 = "0m5cwq2v46gb1b12p7acck6dadvn7sw4xf8lkqikj9hvzq3r1dnj";
})
];
meta = with lib; {
description = "Open source visual database applications creator, a long-awaited competitor for programs like MS Access or Filemaker";
longDescription = ''
Kexi is a visual database applications creator.
It can be used for creating database schemas,
inserting data, performing queries, and processing data.
Forms can be created to provide a custom interface to your data.
All database objects - tables, queries and forms - are stored in the database,
making it easy to share data and design.
'';
homepage = "https://kexi-project.org/";
maintainers = with maintainers; [ zraexy ];
platforms = platforms.linux;
license = with licenses; [
gpl2
lgpl2
];
};
}