Merge pull request #51677 from plapadoo/pro-office-calculator-init

pro-office-calculator: init at 1.0.6
This commit is contained in:
Sarah Brofeldt 2018-12-13 12:13:35 +01:00 committed by GitHub
commit b64e71e09c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, tinyxml-2, cmake, qtbase, qtmultimedia, fetchpatch }:
stdenv.mkDerivation rec {
version = "1.0.6";
name = "pro-office-calculator-${version}";
src = fetchFromGitHub {
owner = "RobJinman";
repo = "pro_office_calc";
rev = "v${version}";
sha256 = "1irgch6cbc2f8il1zh8qf98m43h41hma80dxzz9c7xvbvl99lybd";
};
buildInputs = [ qtbase qtmultimedia tinyxml-2 ];
# This fixes a bug resulting in "illegal instruction"
patches = [(fetchpatch {
url = https://github.com/RobJinman/pro_office_calc/commit/806180d69d4af6b3183873f471c57bfdaf529560.patch;
sha256 = "1rcdjy233yf3kv4v18c82jyg08dykj2qspvg08n5b3bir870sbxz";
})];
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "Just an ordinary calculator. Nothing to see here...";
homepage = http://proofficecalculator.com/;
maintainers = [ maintainers.pmiddend ];
platforms = platforms.linux;
license = licenses.gpl3;
};
}

View File

@ -4448,6 +4448,8 @@ in
pnmixer = callPackage ../tools/audio/pnmixer { };
pro-office-calculator = libsForQt5.callPackage ../games/pro-office-calculator { };
pulsemixer = callPackage ../tools/audio/pulsemixer { };
pwsafe = callPackage ../applications/misc/pwsafe { };