nixpkgs/pkgs/desktops/lumina/lumina-calculator/default.nix

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

33 lines
778 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qttools }:
mkDerivation rec {
pname = "lumina-calculator";
version = "1.6.0";
src = fetchFromGitHub {
owner = "lumina-desktop";
repo = pname;
rev = "v${version}";
sha256 = "1238d1m0mjkwkdpgq165a4ql9aql0aji5f41rzdzny6m7ws9nm2y";
};
2021-01-15 14:21:58 +01:00
sourceRoot = "source/src-qt5";
nativeBuildInputs = [ qmake qttools ];
buildInputs = [ qtbase ];
qmakeFlags = [
"CONFIG+=WITH_I18N"
2021-01-15 14:21:58 +01:00
"LRELEASE=${lib.getDev qttools}/bin/lrelease"
];
meta = with lib; {
description = "Scientific calculator for the Lumina Desktop";
homepage = "https://github.com/lumina-desktop/lumina-calculator";
license = licenses.bsd3;
platforms = platforms.unix;
2022-04-14 15:24:25 +02:00
maintainers = teams.lumina.members;
};
}