nixpkgs/pkgs/games/pro-office-calculator/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

26 lines
701 B
Nix

{ mkDerivation, lib, fetchFromGitHub, tinyxml-2, cmake, qtbase, qtmultimedia }:
mkDerivation rec {
version = "1.0.13";
pname = "pro-office-calculator";
src = fetchFromGitHub {
owner = "RobJinman";
repo = "pro_office_calc";
rev = "v${version}";
sha256 = "1v75cysargmp4fk7px5zgib1p6h5ya4w39rndbzk614fcnv0iipd";
};
buildInputs = [ qtbase qtmultimedia tinyxml-2 ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Completely normal office calculator";
mainProgram = "procalc";
homepage = "https://proofficecalculator.com/";
maintainers = [ maintainers.pmiddend ];
platforms = platforms.linux;
license = licenses.gpl3;
};
}