nixpkgs/pkgs/applications/kde/kalk.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
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.
2024-03-19 03:14:51 +01:00

51 lines
700 B
Nix

{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, bison
, flex
, gmp
, mpfr
, kconfig
, kcoreaddons
, ki18n
, kirigami2
, kunitconversion
, qtfeedback
, qtquickcontrols2
}:
mkDerivation rec {
pname = "kalk";
nativeBuildInputs = [
cmake
extra-cmake-modules
bison
flex
];
buildInputs = [
gmp
mpfr
kconfig
kcoreaddons
ki18n
kirigami2
kunitconversion
qtfeedback
qtquickcontrols2
];
meta = with lib; {
description = "Calculator built with kirigami";
mainProgram = "kalk";
homepage = "https://invent.kde.org/plasma-mobile/kalk";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ samueldr ];
};
}