nixpkgs/pkgs/games/pro-office-calculator/default.nix

25 lines
674 B
Nix
Raw Normal View History

{ mkDerivation, lib, fetchFromGitHub, tinyxml-2, cmake, qtbase, qtmultimedia }:
mkDerivation rec {
2019-02-13 17:14:19 +00:00
version = "1.0.13";
pname = "pro-office-calculator";
2018-12-07 18:56:52 +00:00
src = fetchFromGitHub {
owner = "RobJinman";
repo = "pro_office_calc";
rev = "v${version}";
2019-02-13 17:14:19 +00:00
sha256 = "1v75cysargmp4fk7px5zgib1p6h5ya4w39rndbzk614fcnv0iipd";
2018-12-07 18:56:52 +00:00
};
buildInputs = [ qtbase qtmultimedia tinyxml-2 ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "A completely normal office calculator";
homepage = "https://proofficecalculator.com/";
2018-12-07 18:56:52 +00:00
maintainers = [ maintainers.pmiddend ];
platforms = platforms.linux;
license = licenses.gpl3;
};
}