Skip to content

Commit 316ef08

Browse files
authored
Merge pull request NixOS#259436 from SuperSandro2000/itinerary
2 parents fcddb1e + 0722a10 commit 316ef08

File tree

6 files changed

+133
-5
lines changed

6 files changed

+133
-5
lines changed

pkgs/applications/kde/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ let
9494
grantleetheme = callPackage ./grantleetheme {};
9595
gwenview = callPackage ./gwenview.nix {};
9696
incidenceeditor = callPackage ./incidenceeditor.nix {};
97+
itinerary = callPackage ./itinerary.nix {};
9798
juk = callPackage ./juk.nix {};
9899
k3b = callPackage ./k3b.nix {};
99100
kaccounts-integration = callPackage ./kaccounts-integration.nix {};
@@ -179,7 +180,9 @@ let
179180
kontact = callPackage ./kontact.nix {};
180181
konversation = callPackage ./konversation.nix {};
181182
kontactinterface = callPackage ./kontactinterface.nix {};
183+
kopeninghours = callPackage ./kopeninghours.nix {};
182184
korganizer = callPackage ./korganizer.nix {};
185+
kosmindoormap = callPackage ./kosmindoormap.nix {};
183186
kpat = callPackage ./kpat.nix {};
184187
kpimtextedit = callPackage ./kpimtextedit.nix {};
185188
kpkpass = callPackage ./kpkpass.nix {};
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{ mkDerivation
2+
, lib
3+
, extra-cmake-modules
4+
, karchive
5+
, kcalendarcore
6+
, kcontacts
7+
, kdbusaddons
8+
, kfilemetadata
9+
, kholidays
10+
, kio
11+
, kirigami-addons
12+
, kitemmodels
13+
, kitinerary
14+
, kmime
15+
, knotifications
16+
, kosmindoormap
17+
, kpkpass
18+
, kpublictransport
19+
, kunitconversion
20+
, libquotient
21+
, networkmanager-qt
22+
, qqc2-desktop-style
23+
, qtpositioning
24+
, qtquickcontrols2
25+
, shared-mime-info
26+
}:
27+
28+
mkDerivation {
29+
pname = "itinerary";
30+
outputs = [ "out" "dev" ];
31+
32+
nativeBuildInputs = [
33+
extra-cmake-modules
34+
shared-mime-info # for update-mime-database
35+
];
36+
37+
buildInputs = [
38+
karchive
39+
kcalendarcore
40+
kcontacts
41+
kdbusaddons
42+
kfilemetadata
43+
kholidays
44+
kio
45+
kirigami-addons
46+
kitemmodels
47+
kitinerary
48+
kmime
49+
knotifications
50+
kosmindoormap
51+
kpkpass
52+
kpublictransport
53+
kunitconversion
54+
libquotient
55+
networkmanager-qt
56+
qqc2-desktop-style
57+
qtpositioning
58+
qtquickcontrols2
59+
];
60+
61+
meta.license = with lib.licenses; [ asl20 bsd3 cc0 lgpl2Plus ];
62+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{ mkDerivation
2+
, lib
3+
, bison
4+
, extra-cmake-modules
5+
, flex
6+
, kholidays
7+
, ki18n
8+
}:
9+
10+
mkDerivation {
11+
pname = "kopeninghours";
12+
outputs = [ "out" "dev" ];
13+
14+
nativeBuildInputs = [
15+
bison
16+
extra-cmake-modules
17+
flex
18+
];
19+
20+
buildInputs = [
21+
kholidays
22+
ki18n
23+
];
24+
25+
meta = {
26+
license = with lib.licenses; [ bsd3 cc0 lgpl2Plus ];
27+
};
28+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{ mkDerivation
2+
, lib
3+
, bison
4+
, extra-cmake-modules
5+
, flex
6+
, ki18n
7+
, kopeninghours
8+
, kpublictransport
9+
}:
10+
11+
mkDerivation {
12+
pname = "kosmindoormap";
13+
outputs = [ "out" "dev" ];
14+
15+
nativeBuildInputs = [
16+
bison
17+
extra-cmake-modules
18+
flex
19+
];
20+
21+
buildInputs = [
22+
ki18n
23+
kopeninghours
24+
kpublictransport
25+
];
26+
27+
meta = {
28+
license = with lib.licenses; [ bsd2 bsd3 cc0 lgpl2Plus lgpl3Plus mit odbl ];
29+
};
30+
}

pkgs/applications/kde/neochat.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
, qcoro
2525
, qqc2-desktop-style
2626
, qtgraphicaleffects
27-
, qtkeychain
2827
, qtlocation
2928
, qtmultimedia
3029
, qtquickcontrols2
@@ -59,7 +58,6 @@ mkDerivation {
5958
olm
6059
qcoro
6160
qtgraphicaleffects
62-
qtkeychain
6361
qtlocation
6462
qtmultimedia
6563
qtquickcontrols2

pkgs/development/libraries/libquotient/default.nix

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@ stdenv.mkDerivation rec {
44
pname = "libquotient";
55
version = "0.8.1.2";
66

7+
outputs = [ "out" "dev" ];
8+
79
src = fetchFromGitHub {
810
owner = "quotient-im";
911
repo = "libQuotient";
1012
rev = version;
1113
hash = "sha256-qJTikc42sFUlb4g0sAEg6v9d4k1lhbn3MZPvghm56E8=";
1214
};
1315

14-
buildInputs = [ olm openssl qtbase qtmultimedia qtkeychain ];
15-
1616
nativeBuildInputs = [ cmake ];
1717

18+
propagatedBuildInputs = [ qtbase qtkeychain olm openssl qtmultimedia ];
19+
1820
cmakeFlags = [
1921
"-DQuotient_ENABLE_E2EE=ON"
2022
];
@@ -28,9 +30,14 @@ stdenv.mkDerivation rec {
2830

2931
dontWrapQtApps = true;
3032

33+
postInstall = ''
34+
# causes cyclic dependency but is not used
35+
rm $out/share/ndk-modules/Android.mk
36+
'';
37+
3138
meta = with lib; {
3239
description = "A Qt5/Qt6 library to write cross-platform clients for Matrix";
33-
homepage = "https://matrix.org/docs/projects/sdk/quotient";
40+
homepage = "https://quotient-im.github.io/libQuotient/";
3441
license = licenses.lgpl21;
3542
maintainers = with maintainers; [ colemickens matthiasbeyer ];
3643
};

0 commit comments

Comments
 (0)