2021-03-15 08:37:03 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, python
|
|
|
|
, boost
|
|
|
|
, cppunit
|
|
|
|
, log4cpp
|
|
|
|
, osmosdr
|
2021-06-28 23:13:55 +00:00
|
|
|
, gmp
|
|
|
|
, mpir
|
|
|
|
, fftwFloat
|
|
|
|
, icu
|
2021-03-15 08:37:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "gr-ais";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "2020-08-13";
|
2021-03-15 08:37:03 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bistromath";
|
|
|
|
repo = "gr-ais";
|
2021-06-28 23:13:55 +00:00
|
|
|
rev = "2162103226f3dae43c8c2ab23b79483b84346665";
|
|
|
|
sha256 = "1vackka34722d8pcspfwj0j6gc9ic7dqq64sgkrpjm94sh3bmb0b";
|
2021-03-15 08:37:03 +00:00
|
|
|
};
|
2021-06-28 23:13:55 +00:00
|
|
|
disabledForGRafter = "3.9";
|
2021-03-15 08:37:03 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
python
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cppunit
|
|
|
|
osmosdr
|
|
|
|
boost
|
|
|
|
log4cpp
|
2021-06-28 23:13:55 +00:00
|
|
|
gmp
|
|
|
|
mpir
|
|
|
|
fftwFloat
|
|
|
|
icu
|
2021-03-15 08:37:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Gnuradio block for ais";
|
|
|
|
homepage = "https://github.com/bistromath/gr-ais";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ mog ];
|
|
|
|
};
|
|
|
|
}
|