sdrangel: fix build on x86_64-darwin
[NixPkgs.git] / pkgs / games / pro-office-calculator / default.nix
blobd49bb69cec0cbcc9b293aff5bc0d0f6a76a94619
1 { mkDerivation, lib, fetchFromGitHub, tinyxml-2, cmake, qtbase, qtmultimedia }:
2 mkDerivation rec {
3   version = "1.0.13";
4   pname = "pro-office-calculator";
6   src = fetchFromGitHub {
7     owner  = "RobJinman";
8     repo   = "pro_office_calc";
9     rev    = "v${version}";
10     sha256 = "1v75cysargmp4fk7px5zgib1p6h5ya4w39rndbzk614fcnv0iipd";
11   };
13   buildInputs = [ qtbase qtmultimedia tinyxml-2 ];
15   nativeBuildInputs = [ cmake ];
17   meta = with lib; {
18     description = "A completely normal office calculator";
19     mainProgram = "procalc";
20     homepage = "https://proofficecalculator.com/";
21     maintainers = [ maintainers.pmiddend ];
22     platforms = platforms.linux;
23     license = licenses.gpl3;
24   };