git.iko.soy/typeable/nixpkgs
on master help sign in
tqsl: init at 2.3.1
commita6d570dd496c4b9d897b8c8c69844c72bc7d3b66 authorDavid Pflug <david@tpflug.com> dateThu 5 Oct 2017, 20:39 (9 years ago) parent88fc0e4
4 files changed+54
lib/maintainers.nix+1 pkgs/applications/misc/tqsl/cmake_lib_path.patch+12 pkgs/applications/misc/tqsl/default.nix+39 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -164,6 +164,7 @@
164164 dotlambda = "Robert Schütz <rschuetz17@gmail.com>";
165165 doublec = "Chris Double <chris.double@double.co.nz>";
166166 dpaetzel = "David Pätzel <david.a.paetzel@gmail.com>";
167+ dpflug = "David Pflug <david@pflug.email>";
167168 drets = "Dmytro Rets <dmitryrets@gmail.com>";
168169 drewkett = "Andrew Burkett <burkett.andrew@gmail.com>";
169170 dsferruzza = "David Sferruzza <david.sferruzza@gmail.com>";
pkgs/applications/misc/tqsl/cmake_lib_path.patchnew file+12
@@ -0,0 +1,12 @@
1+diff -dur tqsl-2.3.1/src/CMakeLists.txt tqsl-2.3.1b/src/CMakeLists.txt
2+--- tqsl-2.3.1/src/CMakeLists.txt 2017-04-17 20:53:22.000000000 -0400
3++++ tqsl-2.3.1b/src/CMakeLists.txt 2017-10-05 21:14:39.048329343 -0400
4+@@ -54,7 +54,7 @@
5+ if(NOT APPLE AND NOT WIN32)
6+ set_source_files_properties(location.cpp PROPERTIES COMPILE_DEFINITIONS CONFDIR="${CMAKE_INSTALL_PREFIX}/share/TrustedQSL/")
7+ set(HEADERS_TO_INSTALL tqsllib.h tqslerrno.h cabrillo.h adif.h tqslconvert.h)
8+-install(TARGETS tqsllib DESTINATION lib$(LIB_SUFFIX))
9++install(TARGETS tqsllib DESTINATION lib${LIB_SUFFIX})
10+ install(FILES config.xml DESTINATION share/TrustedQSL)
11+ install(FILES ${HEADERS_TO_INSTALL} DESTINATION include)
12+ endif()
pkgs/applications/misc/tqsl/default.nixnew file+39
@@ -0,0 +1,39 @@
1+{ stdenv, fetchurl, makeWrapper, cmake, expat, openssl, zlib, db, curl, wxGTK }:
2+
3+let
4+ lib_suffix =
5+ if stdenv.system == "x86_64-linux" then
6+ "64"
7+ else
8+ "";
9+in
10+stdenv.mkDerivation rec {
11+ name = "tqsl-${version}";
12+ version = "2.3.1";
13+
14+ src = fetchurl {
15+ url = "http://www.arrl.org/files/file/LoTW%20Instructions/${name}.tar.gz";
16+ sha256 = "10cjlilampwl10hwb7m28m5z9gyrscvvc1rryfjnhj9q2x4ppgxv";
17+ };
18+
19+ nativeBuildInputs = [ makeWrapper ];
20+ buildInputs = [
21+ cmake
22+ expat
23+ openssl
24+ zlib
25+ db
26+ curl
27+ wxGTK
28+ ];
29+
30+ patches = [ ./cmake_lib_path.patch ];
31+
32+ meta = with stdenv.lib; {
33+ description = "Software for using the ARRL Logbook of the World";
34+ homepage = https://lotw.arrl.org/;
35+ license = licenses.bsd3;
36+ platforms = platforms.linux;
37+ maintainers = [ maintainers.dpflug ];
38+ };
39+}
pkgs/top-level/all-packages.nix+2
@@ -16722,6 +16722,8 @@ with pkgs;
1672216722
1672316723 toxic = callPackage ../applications/networking/instant-messengers/toxic { };
1672416724
16725+ tqsl = callPackage ../applications/misc/tqsl { };
16726+
1672516727 transcode = callPackage ../applications/audio/transcode { };
1672616728
1672716729 transcribe = callPackage ../applications/audio/transcribe { };