nixpkgs/pkgs/applications/science/math/qalculate-qt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
725 B
Nix
Raw Normal View History

2022-08-11 19:50:07 +00:00
{ lib, stdenv, fetchFromGitHub, intltool, pkg-config, qmake, wrapQtAppsHook, libqalculate, qtbase, qttools }:
stdenv.mkDerivation rec {
pname = "qalculate-qt";
version = "4.5.0";
2022-08-11 19:50:07 +00:00
src = fetchFromGitHub {
owner = "qalculate";
repo = "qalculate-qt";
rev = "v${version}";
sha256 = "sha256-oUteOAtNjmYzHeIg4xdMAlMW/lLRV0DZCK1RqHVvYEQ=";
2022-08-11 19:50:07 +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 = platforms.linux;
2022-08-11 19:50:07 +00:00
};
}