kalk: init at 21.05

This commit is contained in:
Samuel Dionne-Riel 2021-03-16 17:48:38 -04:00
parent 546b930bd8
commit 094eb89b7e
2 changed files with 51 additions and 0 deletions

@ -61,6 +61,7 @@ let
inherit mkDerivation;
};
in {
kalk = callPackage ./kalk.nix {};
};
in lib.makeScope libsForQt5.newScope packages

@ -0,0 +1,50 @@
{ 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";
homepage = "https://invent.kde.org/plasma-mobile/kalk";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ samueldr ];
};
}