2022-09-09 14:08:57 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, intltool, pkg-config, qmake, wrapQtAppsHook, libqalculate, qtbase, qttools }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qalculate-qt";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "4.4.0";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qalculate";
|
|
|
|
repo = "qalculate-qt";
|
|
|
|
rev = "v${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-C3alvl8hLxUy+soSjfxlNQ++QTcU9Gong1ydVpu8xGs=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
}
|