lol
at 23.05-pre 60 lines 977 B view raw
1{ lib 2, mkDerivation 3, fetchFromGitHub 4, cmake 5, pkg-config 6, python 7, boost 8, cppunit 9, log4cpp 10, osmosdr 11, gmp 12, mpir 13, fftwFloat 14, icu 15, gnuradio 16, thrift 17}: 18 19mkDerivation rec { 20 pname = "gr-ais"; 21 version = "2020-08-13"; 22 src = fetchFromGitHub { 23 owner = "bistromath"; 24 repo = "gr-ais"; 25 rev = "2162103226f3dae43c8c2ab23b79483b84346665"; 26 sha256 = "1vackka34722d8pcspfwj0j6gc9ic7dqq64sgkrpjm94sh3bmb0b"; 27 }; 28 disabledForGRafter = "3.9"; 29 30 nativeBuildInputs = [ 31 cmake 32 pkg-config 33 python 34 ]; 35 36 cmakeFlags = [ 37 "-DCMAKE_EXE_LINKER_FLAGS=-pthread" 38 ]; 39 40 buildInputs = [ 41 cppunit 42 osmosdr 43 boost 44 log4cpp 45 gmp 46 mpir 47 fftwFloat 48 icu 49 thrift 50 gnuradio.python.pkgs.thrift 51 ]; 52 53 meta = with lib; { 54 description = "Gnuradio block for ais"; 55 homepage = "https://github.com/bistromath/gr-ais"; 56 license = licenses.gpl3Plus; 57 platforms = platforms.unix; 58 maintainers = with maintainers; [ mog ]; 59 }; 60}