diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-02-07 12:30:42 +0100 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2021-02-07 18:04:35 +0100 |
commit | 1f4115625bf65b6f9651c1fcfd2d7a8bc33fcd09 (patch) | |
tree | bd81a7616e593756b5dc13799250614ca9e39331 /pkgs/applications/office | |
parent | 536fe36e23ab0fc8b7f35c24603422eee9fc17a2 (diff) |
kbibtex: init at 0.9.2
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/kbibtex/default.nix | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/pkgs/applications/office/kbibtex/default.nix b/pkgs/applications/office/kbibtex/default.nix new file mode 100644 index 0000000000000..861ec4d99ef04 --- /dev/null +++ b/pkgs/applications/office/kbibtex/default.nix @@ -0,0 +1,74 @@ +{ lib +, mkDerivation +, fetchurl +# build-time +, extra-cmake-modules +, shared-mime-info +# Qt +, qtxmlpatterns +, qtwebengine +, qca-qt5 +# KDE +, ki18n +, kxmlgui +, kio +, kiconthemes +, kitemviews +, kparts +, kcoreaddons +, kservice +, ktexteditor +, kdoctools +, kwallet +, kcrash +# other +, poppler +, bibutils +}: + +mkDerivation rec { + pname = "kbibtex"; + version = "0.9.2"; + + src = fetchurl { + url = "mirror://kde/stable/KBibTeX/${version}/kbibtex-${version}.tar.xz"; + sha256 = "09xcdx363z9hps3wbr1kx96a6q6678y8pg8r3apyps4xm7xm31nr"; + }; + + nativeBuildInputs = [ + extra-cmake-modules + shared-mime-info + ]; + + buildInputs = [ + qtxmlpatterns + qtwebengine + qca-qt5 + # TODO qtoauth + ki18n + kxmlgui + kio + kiconthemes + kitemviews + kparts + kcoreaddons + kservice + ktexteditor + kdoctools + kwallet + kcrash + poppler + ]; + + qtWrapperArgs = [ + "--prefix" "PATH" ":" "${lib.makeBinPath [ bibutils ]}" + ]; + + meta = with lib; { + description = "Bibliography editor for KDE"; + homepage = "https://userbase.kde.org/KBibTeX"; + changelog = "https://invent.kde.org/office/kbibtex/-/raw/v${version}/ChangeLog"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ dotlambda ]; + }; +} |