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.
51 lines
700 B
Nix
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 ];
|
|
};
|
|
}
|