Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 51 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 hamlib, 6 pkg-config, 7 qtbase, 8 qttools, 9 qtserialport, 10 qtcharts, 11 qmake, 12 wrapQtAppsHook, 13}: 14 15stdenv.mkDerivation rec { 16 pname = "klog"; 17 version = "1.3.2"; 18 19 src = fetchurl { 20 url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz"; 21 sha256 = "1d5x7rq0mgfrqws3q1y4z8wh2qa3gvsmd0ssf2yqgkyq3fhdrb5c"; 22 }; 23 24 nativeBuildInputs = [ 25 pkg-config 26 wrapQtAppsHook 27 qmake 28 qttools 29 ]; 30 buildInputs = [ 31 hamlib 32 qtbase 33 qtserialport 34 qtcharts 35 ]; 36 37 qmakeFlags = [ "KLog.pro" ]; 38 39 meta = with lib; { 40 description = "Multiplatform free hamradio logger"; 41 mainProgram = "klog"; 42 longDescription = '' 43 KLog provides QSO management, useful QSL management DX-Cluster client, DXCC management, 44 ClubLog integration, WSJT-X, DX-Marathon support and much more. 45 ''; 46 homepage = "https://www.klog.xyz/"; 47 license = licenses.gpl2Plus; 48 platforms = platforms.linux; 49 maintainers = with maintainers; [ pulsation ]; 50 }; 51}