summary refs log tree commit diff
path: root/pkgs/development/gnuradio-modules/ais/default.nix
blob: 5ff4ffd75653a809aac12b328eaa0e719cfc0b2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, python
, boost
, cppunit
, log4cpp
, osmosdr
}:

mkDerivation rec {
  pname = "gr-ais";
  version = "2015-12-20";
  src = fetchFromGitHub {
    owner = "bistromath";
    repo = "gr-ais";
    rev = "cdc1f52745853f9c739c718251830eb69704b26e";
    sha256 = "1vl3kk8xr2mh5lf31zdld7yzmwywqffffah8iblxdzblgsdwxfl6";
  };
  disabledForGRafter = "3.8";

  nativeBuildInputs = [
    cmake
    pkg-config
    python
  ];

  buildInputs = [
    cppunit
    osmosdr
    boost
    log4cpp
  ];

  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 ];
  };
}