Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 724 B view raw
1{ 2 mkDerivation, 3 lib, 4 fetchFromGitHub, 5 tinyxml-2, 6 cmake, 7 qtbase, 8 qtmultimedia, 9}: 10mkDerivation rec { 11 version = "1.0.13"; 12 pname = "pro-office-calculator"; 13 14 src = fetchFromGitHub { 15 owner = "RobJinman"; 16 repo = "pro_office_calc"; 17 rev = "v${version}"; 18 sha256 = "1v75cysargmp4fk7px5zgib1p6h5ya4w39rndbzk614fcnv0iipd"; 19 }; 20 21 buildInputs = [ 22 qtbase 23 qtmultimedia 24 tinyxml-2 25 ]; 26 27 nativeBuildInputs = [ cmake ]; 28 29 meta = with lib; { 30 description = "Completely normal office calculator"; 31 mainProgram = "procalc"; 32 homepage = "https://proofficecalculator.com/"; 33 maintainers = [ maintainers.pmiddend ]; 34 platforms = platforms.linux; 35 license = licenses.gpl3; 36 }; 37}