pro-office-calculator: init at 1.0.6
This commit is contained in:
parent
e1b7493cfe
commit
cd075e5045
30
pkgs/games/pro-office-calculator/default.nix
Normal file
30
pkgs/games/pro-office-calculator/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -4446,6 +4446,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user