mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
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.
52 lines
700 B
Nix
52 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 ];
|
|
};
|
|
}
|