diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix index a0e59c43d17c..32d1e71facf0 100644 --- a/pkgs/applications/kde/default.nix +++ b/pkgs/applications/kde/default.nix @@ -94,6 +94,7 @@ let grantleetheme = callPackage ./grantleetheme {}; gwenview = callPackage ./gwenview.nix {}; incidenceeditor = callPackage ./incidenceeditor.nix {}; + itinerary = callPackage ./itinerary.nix {}; juk = callPackage ./juk.nix {}; k3b = callPackage ./k3b.nix {}; kaccounts-integration = callPackage ./kaccounts-integration.nix {}; @@ -179,7 +180,9 @@ let kontact = callPackage ./kontact.nix {}; konversation = callPackage ./konversation.nix {}; kontactinterface = callPackage ./kontactinterface.nix {}; + kopeninghours = callPackage ./kopeninghours.nix {}; korganizer = callPackage ./korganizer.nix {}; + kosmindoormap = callPackage ./kosmindoormap.nix {}; kpat = callPackage ./kpat.nix {}; kpimtextedit = callPackage ./kpimtextedit.nix {}; kpkpass = callPackage ./kpkpass.nix {}; diff --git a/pkgs/applications/kde/itinerary.nix b/pkgs/applications/kde/itinerary.nix new file mode 100644 index 000000000000..c08aa346cde0 --- /dev/null +++ b/pkgs/applications/kde/itinerary.nix @@ -0,0 +1,62 @@ +{ mkDerivation +, lib +, extra-cmake-modules +, karchive +, kcalendarcore +, kcontacts +, kdbusaddons +, kfilemetadata +, kholidays +, kio +, kirigami-addons +, kitemmodels +, kitinerary +, kmime +, knotifications +, kosmindoormap +, kpkpass +, kpublictransport +, kunitconversion +, libquotient +, networkmanager-qt +, qqc2-desktop-style +, qtpositioning +, qtquickcontrols2 +, shared-mime-info +}: + +mkDerivation { + pname = "itinerary"; + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ + extra-cmake-modules + shared-mime-info # for update-mime-database + ]; + + buildInputs = [ + karchive + kcalendarcore + kcontacts + kdbusaddons + kfilemetadata + kholidays + kio + kirigami-addons + kitemmodels + kitinerary + kmime + knotifications + kosmindoormap + kpkpass + kpublictransport + kunitconversion + libquotient + networkmanager-qt + qqc2-desktop-style + qtpositioning + qtquickcontrols2 + ]; + + meta.license = with lib.licenses; [ asl20 bsd3 cc0 lgpl2Plus ]; +} diff --git a/pkgs/applications/kde/kopeninghours.nix b/pkgs/applications/kde/kopeninghours.nix new file mode 100644 index 000000000000..6a49aeea5874 --- /dev/null +++ b/pkgs/applications/kde/kopeninghours.nix @@ -0,0 +1,28 @@ +{ mkDerivation +, lib +, bison +, extra-cmake-modules +, flex +, kholidays +, ki18n +}: + +mkDerivation { + pname = "kopeninghours"; + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ + bison + extra-cmake-modules + flex + ]; + + buildInputs = [ + kholidays + ki18n + ]; + + meta = { + license = with lib.licenses; [ bsd3 cc0 lgpl2Plus ]; + }; +} diff --git a/pkgs/applications/kde/kosmindoormap.nix b/pkgs/applications/kde/kosmindoormap.nix new file mode 100644 index 000000000000..529aac48da7a --- /dev/null +++ b/pkgs/applications/kde/kosmindoormap.nix @@ -0,0 +1,30 @@ +{ mkDerivation +, lib +, bison +, extra-cmake-modules +, flex +, ki18n +, kopeninghours +, kpublictransport +}: + +mkDerivation { + pname = "kosmindoormap"; + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ + bison + extra-cmake-modules + flex + ]; + + buildInputs = [ + ki18n + kopeninghours + kpublictransport + ]; + + meta = { + license = with lib.licenses; [ bsd2 bsd3 cc0 lgpl2Plus lgpl3Plus mit odbl ]; + }; +} diff --git a/pkgs/applications/kde/neochat.nix b/pkgs/applications/kde/neochat.nix index a9661648ddf8..03c6f19e68f5 100644 --- a/pkgs/applications/kde/neochat.nix +++ b/pkgs/applications/kde/neochat.nix @@ -24,7 +24,6 @@ , qcoro , qqc2-desktop-style , qtgraphicaleffects -, qtkeychain , qtlocation , qtmultimedia , qtquickcontrols2 @@ -59,7 +58,6 @@ mkDerivation { olm qcoro qtgraphicaleffects - qtkeychain qtlocation qtmultimedia qtquickcontrols2 diff --git a/pkgs/development/libraries/libquotient/default.nix b/pkgs/development/libraries/libquotient/default.nix index 2dd4cc6663a9..e154ab8eafe2 100644 --- a/pkgs/development/libraries/libquotient/default.nix +++ b/pkgs/development/libraries/libquotient/default.nix @@ -4,6 +4,8 @@ stdenv.mkDerivation rec { pname = "libquotient"; version = "0.8.1.2"; + outputs = [ "out" "dev" ]; + src = fetchFromGitHub { owner = "quotient-im"; repo = "libQuotient"; @@ -11,10 +13,10 @@ stdenv.mkDerivation rec { hash = "sha256-qJTikc42sFUlb4g0sAEg6v9d4k1lhbn3MZPvghm56E8="; }; - buildInputs = [ olm openssl qtbase qtmultimedia qtkeychain ]; - nativeBuildInputs = [ cmake ]; + propagatedBuildInputs = [ qtbase qtkeychain olm openssl qtmultimedia ]; + cmakeFlags = [ "-DQuotient_ENABLE_E2EE=ON" ]; @@ -28,9 +30,14 @@ stdenv.mkDerivation rec { dontWrapQtApps = true; + postInstall = '' + # causes cyclic dependency but is not used + rm $out/share/ndk-modules/Android.mk + ''; + meta = with lib; { description = "A Qt5/Qt6 library to write cross-platform clients for Matrix"; - homepage = "https://matrix.org/docs/projects/sdk/quotient"; + homepage = "https://quotient-im.github.io/libQuotient/"; license = licenses.lgpl21; maintainers = with maintainers; [ colemickens matthiasbeyer ]; };