ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
48 lines
756 B
Nix
48 lines
756 B
Nix
{ lib
|
|
, mkDerivation
|
|
|
|
, cmake
|
|
, extra-cmake-modules
|
|
|
|
, kconfig
|
|
, kcontacts
|
|
, kcoreaddons
|
|
, ki18n
|
|
, kirigami-addons
|
|
, kirigami2
|
|
, kitemmodels
|
|
, kpublictransport
|
|
, qqc2-desktop-style
|
|
, qtquickcontrols2
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "ktrip";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
];
|
|
|
|
buildInputs = [
|
|
kconfig
|
|
kcontacts
|
|
kcoreaddons
|
|
ki18n
|
|
kirigami-addons
|
|
kirigami2
|
|
kitemmodels
|
|
kpublictransport
|
|
qqc2-desktop-style
|
|
qtquickcontrols2
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Public transport trip planner";
|
|
mainProgram = "ktrip";
|
|
homepage = "https://apps.kde.org/ktrip/";
|
|
# GPL-2.0-or-later
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ samueldr ];
|
|
};
|
|
}
|