Merge pull request #112296 from dotlambda/kbibtex-init

kbibtex: init at 0.9.2
This commit is contained in:
Sandro 2021-02-08 16:28:20 +01:00 committed by GitHub
commit b5f38cafbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 76 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -23076,6 +23076,8 @@ in
k4dirstat = libsForQt5.callPackage ../applications/misc/k4dirstat { };
kbibtex = libsForQt5.callPackage ../applications/office/kbibtex { };
kdevelop-pg-qt = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop-pg-qt.nix { };
kdevelop-unwrapped = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop.nix {