mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
lumina.lumina-calculator: init at 2019-04-27
This commit is contained in:
parent
1a8005393d
commit
c345f347d1
2 changed files with 34 additions and 0 deletions
|
@ -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
|
||||
];
|
||||
|
||||
};
|
||||
|
|
32
pkgs/desktops/lumina/lumina-calculator/default.nix
Normal file
32
pkgs/desktops/lumina/lumina-calculator/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue