mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
703 B
Nix
26 lines
703 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 = "A completely normal office calculator";
|
|
mainProgram = "procalc";
|
|
homepage = "https://proofficecalculator.com/";
|
|
maintainers = [ maintainers.pmiddend ];
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|