nixpkgs/pkgs/games/pro-office-calculator/default.nix
2019-02-13 18:14:19 +01:00

25 lines
710 B
Nix

{ stdenv, fetchFromGitHub, tinyxml-2, cmake, qtbase, qtmultimedia, fetchpatch }:
stdenv.mkDerivation rec {
version = "1.0.13";
name = "pro-office-calculator-${version}";
src = fetchFromGitHub {
owner = "RobJinman";
repo = "pro_office_calc";
rev = "v${version}";
sha256 = "1v75cysargmp4fk7px5zgib1p6h5ya4w39rndbzk614fcnv0iipd";
};
buildInputs = [ qtbase qtmultimedia tinyxml-2 ];
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;
};
}