diff --git a/pkgs/applications/science/math/qalculate-qt/default.nix b/pkgs/applications/science/math/qalculate-qt/default.nix new file mode 100644 index 000000000000..b504cc67cd4b --- /dev/null +++ b/pkgs/applications/science/math/qalculate-qt/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchFromGitHub, intltool, pkg-config, qmake, wrapQtAppsHook, libqalculate, qtbase, qttools }: + +stdenv.mkDerivation rec { + pname = "qalculate-qt"; + version = "4.2.0"; + + src = fetchFromGitHub { + owner = "qalculate"; + repo = "qalculate-qt"; + rev = "v${version}"; + sha256 = "sha256-7H1nQLJBiuTj/GwojfOPpRbDseOHvLa94LK+bXvLhws="; + }; + + nativeBuildInputs = [ qmake intltool pkg-config wrapQtAppsHook ]; + buildInputs = [ libqalculate qtbase qttools ]; + + meta = with lib; { + description = "The ultimate desktop calculator"; + homepage = "http://qalculate.github.io"; + maintainers = with maintainers; [ _4825764518 ]; + license = licenses.gpl2Plus; + platforms = [ "x86_64-linux" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f241e01fbaf4..4d644b73d59b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10264,6 +10264,8 @@ with pkgs; qalculate-gtk = callPackage ../applications/science/math/qalculate-gtk { }; + qalculate-qt = libsForQt5.callPackage ../applications/science/math/qalculate-qt { }; + qastools = libsForQt5.callPackage ../tools/audio/qastools { }; qdigidoc = libsForQt5.callPackage ../tools/security/qdigidoc { } ;