lumina.lumina-calculator: init at 2019-04-27

This commit is contained in:
José Romildo Malaquias 2019-05-24 17:22:21 -03:00
parent 1a8005393d
commit c345f347d1
2 changed files with 34 additions and 0 deletions

View file

@ -4,6 +4,7 @@ let
packages = self: with self; {
lumina = callPackage ./lumina { };
lumina-calculator = callPackage ./lumina-calculator { };
preRequisitePackages = [
pkgs.fluxbox
@ -15,6 +16,7 @@ let
corePackages = [
lumina
lumina-calculator
];
};

View file

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, qmake, qtbase, qttools }:
stdenv.mkDerivation rec {
pname = "lumina-calculator";
version = "2019-04-27";
src = fetchFromGitHub {
owner = "lumina-desktop";
repo = pname;
rev = "ccb792fc713aa7163fffd37fc20c83ffe9ca7523";
sha256 = "0cdyz94znycsc3qxg5bmg51bwms7586d4ja1bsmj8cb9pd3lv980";
};
sourceRoot = "source/src-qt5";
nativeBuildInputs = [ qmake qttools ];
buildInputs = [ qtbase ];
qmakeFlags = [
"CONFIG+=WITH_I18N"
"LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease"
];
meta = with stdenv.lib; {
description = "Scientific calculator for the Lumina Desktop";
homepage = https://github.com/lumina-desktop/lumina-calculator;
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}